#233fab
a dark, vivid blue · warm · closest name: slateblue
RGB
35, 63, 171
HSL
228°, 66%, 40%
CMYK
80, 63, 0, 33
Luminance
0.0685
Every format
| HEX | #233fab |
| RGB | rgb(35, 63, 171) |
| HSL | hsl(228, 66%, 40%) |
| CMYK | cmyk(80%, 63%, 0%, 33%) |
| LAB | lab(31.5 30.0 -60.6) |
| LCH | lch(31.5 67.6 296.3) |
| OKLCH | oklch(0.421 0.175 267.0) |
Copy-ready code
/* CSS */
color: #233fab;
background-color: #233fab;
/* Tailwind (arbitrary) */
class="text-[#233fab] bg-[#233fab]"
/* SCSS */
$brand: #233fab;
/* SwiftUI */
Color(red: 0.137, green: 0.247, blue: 0.671)
/* Android */
Color.parseColor("#233fab")Accessibility — WCAG contrast
Aa
#233fab on white: 8.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#233fab on black: 2.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red13.7%
Green24.7%
Blue67.1%
CMYK percentages
Cyan79.5%
Magenta63.2%
Yellow0.0%
Key (black)32.9%
Color previews
#233fab text on a black background
contrast 2.37:1
Card sample
#233fab text on a white background
contrast 8.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #233fab;
Background color
Panel with #233fab background
background-color: #233fab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #233fab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(35, 63, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(35, 63, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #233fab; background: linear-gradient(135deg, #233fab, #6223AB);