#04233F#04233F

#04233F is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.1% C 0.064 H 249.8°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#04233F
RGBrgb(4, 35, 63)
HSLhsl(208, 88%, 13%)
HSVhsv(208, 94%, 25%)
CMYKcmyk(93.7%, 44.4%, 0%, 75.3%)
CIE-LABlab(13.15, 1.10, -21.01)
CIE-LCHlch(13.15, 21.04, 273.00°)
OKLaboklab(25.11% -0.0221 -0.06)
OKLCHoklch(25.11% 0.064 249.8)
XYZxyz(1.5480, 1.5866, 4.9263)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04233F #3F2004
analogous
#043F3D #04233F #04053F
triadic
#04233F #3F0423 #233F04
tetradic
#04233F #3D043F #3F2004 #053F04
square
#04233F #3D043F #3F2004 #053F04
split-complementary
#04233F #3F0405 #3F3D04
monochromatic
#02101D #02101D #04233F #084379 #0B63B2

Accessibility & contrast

On white

15.94
#04233F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#04233F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04233F
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04233F#FFFFFF#000000##FFFFFF
##04233F1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152540
Deuteranopia (green-blind)
#0C1F3E
Tritanopia (blue-blind)
#002A2D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #04233f;
/* rgb */ color: rgb(4, 35, 63);
/* oklch */ color: oklch(25.1% 0.064 249.8);
Tailwind
colors: {
  custom: {
    50: '#505d74',
    500: '#04233f',
    950: '#000000',
  },
}
SCSS
$custom: #04233f;
$custom-light: #505d74;
$custom-dark: #000000;
JSON
{
  "hex": "#04233f",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 63
  },
  "hsl": {
    "h": 208.475,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25114,
    "c": 0.064,
    "h": 249.8
  },
  "luminance": 0.01587
}

Semantic roles & 50–950 ramp

primary
#04233F
secondary
#804D1E
accent
#8E2AFE
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #04233F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#04233F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva