#05243F#05243F

#05243F is a dark, moderate cyan. Relative luminance 0.017; OKLCH L 25.4% C 0.062 H 249.0°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#05243F
RGBrgb(5, 36, 63)
HSLhsl(208, 85%, 13%)
HSVhsv(208, 92%, 25%)
CMYKcmyk(92.1%, 42.9%, 0%, 75.3%)
CIE-LABlab(13.55, 0.52, -20.37)
CIE-LCHlch(13.55, 20.38, 271.47°)
OKLaboklab(25.44% -0.0224 -0.0581)
OKLCHoklch(25.44% 0.062 249)
XYZxyz(1.5903, 1.6527, 4.9368)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05243F #3F2005
analogous
#053F3D #05243F #05073F
triadic
#05243F #3F0524 #243F05
tetradic
#05243F #3D053F #3F2005 #073F05
square
#05243F #3D053F #3F2005 #073F05
split-complementary
#05243F #3F0507 #3F3D05
monochromatic
#02101C #02101C #05243F #094478 #0E65B0

Accessibility & contrast

On white

15.78
#05243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05243F
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05243F#FFFFFF#000000##FFFFFF
##05243F1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05243f;
/* rgb */ color: rgb(5, 36, 63);
/* oklch */ color: oklch(25.4% 0.062 249.0);
Tailwind
colors: {
  custom: {
    50: '#505e74',
    500: '#05243f',
    950: '#000000',
  },
}
SCSS
$custom: #05243f;
$custom-light: #505e74;
$custom-dark: #000000;
JSON
{
  "hex": "#05243f",
  "rgb": {
    "r": 5,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 207.931,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25438,
    "c": 0.0623,
    "h": 249
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#05243F
secondary
#804D20
accent
#8D2CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #05243F

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

Preview Lab → · Contrast checker → · Palette generator →

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