#04243F#04243F

#04243F is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.4% C 0.063 H 248.3°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#04243F
RGBrgb(4, 36, 63)
HSLhsl(207, 88%, 13%)
HSVhsv(207, 94%, 25%)
CMYKcmyk(93.7%, 42.9%, 0%, 75.3%)
CIE-LABlab(13.51, 0.35, -20.44)
CIE-LCHlch(13.51, 20.44, 271.00°)
OKLaboklab(25.4% -0.0232 -0.0583)
OKLCHoklch(25.4% 0.063 248.3)
XYZxyz(1.5778, 1.6462, 4.9363)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04243F #3F1F04
analogous
#043F3C #04243F #04063F
triadic
#04243F #3F0424 #243F04
tetradic
#04243F #3C043F #3F1F04 #063F04
square
#04243F #3C043F #3F1F04 #063F04
split-complementary
#04243F #3F0406 #3F3C04
monochromatic
#02101D #02101D #04243F #084579 #0B66B2

Accessibility & contrast

On white

15.80
#04243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#04243F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04243F
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04243F#FFFFFF#000000##FFFFFF
##04243F1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172640
Deuteranopia (green-blind)
#0E203E
Tritanopia (blue-blind)
#002B2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #04243f;
/* rgb */ color: rgb(4, 36, 63);
/* oklch */ color: oklch(25.4% 0.063 248.3);
Tailwind
colors: {
  custom: {
    50: '#505e74',
    500: '#04243f',
    950: '#000000',
  },
}
SCSS
$custom: #04243f;
$custom-light: #505e74;
$custom-dark: #000000;
JSON
{
  "hex": "#04243f",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 207.458,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25397,
    "c": 0.06277,
    "h": 248.3
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#04243F
secondary
#804B1E
accent
#8B2AFE
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #04243F

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

Preview Lab → · Contrast checker → · Palette generator →

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