#04233B#04233B

#04233B is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.8% C 0.058 H 246.1°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#04233B
RGBrgb(4, 35, 59)
HSLhsl(206, 87%, 12%)
HSVhsv(206, 93%, 23%)
CMYKcmyk(93.2%, 40.7%, 0%, 76.9%)
CIE-LABlab(12.88, -0.76, -18.62)
CIE-LCHlch(12.88, 18.64, 267.65°)
OKLaboklab(24.82% -0.0234 -0.053)
OKLCHoklch(24.82% 0.058 246.1)
XYZxyz(1.4402, 1.5435, 4.3588)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04233B #3B1C04
analogous
#043B38 #04233B #04073B
triadic
#04233B #3B0423 #233B04
tetradic
#04233B #38043B #3B1C04 #073B04
square
#04233B #38043B #3B1C04 #073B04
split-complementary
#04233B #3B0407 #3B3804
monochromatic
#02111D #02111D #04233B #084574 #0C67AE

Accessibility & contrast

On white

16.05
#04233B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#04233B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04233B
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04233B#FFFFFF#000000##FFFFFF
##04233B1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243C
Deuteranopia (green-blind)
#0F1F3B
Tritanopia (blue-blind)
#00292C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #04233b;
/* rgb */ color: rgb(4, 35, 59);
/* oklch */ color: oklch(24.8% 0.058 246.1);
Tailwind
colors: {
  custom: {
    50: '#4e5d71',
    500: '#04233b',
    950: '#000000',
  },
}
SCSS
$custom: #04233b;
$custom-light: #4e5d71;
$custom-dark: #000000;
JSON
{
  "hex": "#04233b",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 59
  },
  "hsl": {
    "h": 206.182,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24818,
    "c": 0.05799,
    "h": 246.1
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#04233B
secondary
#7D471E
accent
#862AFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #04233B

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

Preview Lab → · Contrast checker → · Palette generator →

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