#052242#052242

#052242 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.1% C 0.069 H 253.7°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#052242
RGBrgb(5, 34, 66)
HSLhsl(211, 86%, 14%)
HSVhsv(211, 92%, 26%)
CMYKcmyk(92.4%, 48.5%, 0%, 74.1%)
CIE-LABlab(13.04, 3.43, -23.27)
CIE-LCHlch(13.04, 23.52, 278.37°)
OKLaboklab(25.11% -0.0195 -0.0667)
OKLCHoklch(25.11% 0.069 253.7)
XYZxyz(1.6176, 1.5695, 5.3709)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052242 #422505
analogous
#054142 #052242 #060542
triadic
#052242 #420522 #224205
tetradic
#052242 #420541 #422505 #054206
square
#052242 #420541 #422505 #054206
split-complementary
#052242 #420605 #414205
monochromatic
#020F1C #020F1C #052242 #093F7B #0E5DB4

Accessibility & contrast

On white

15.98
#052242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#052242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052242
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052242#FFFFFF#000000##FFFFFF
##0522421.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122543
Deuteranopia (green-blind)
#061F41
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #052242;
/* rgb */ color: rgb(5, 34, 66);
/* oklch */ color: oklch(25.1% 0.069 253.7);
Tailwind
colors: {
  custom: {
    50: '#515c76',
    500: '#052242',
    950: '#000000',
  },
}
SCSS
$custom: #052242;
$custom-light: #515c76;
$custom-dark: #000000;
JSON
{
  "hex": "#052242",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 211.475,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25112,
    "c": 0.06949,
    "h": 253.7
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#052242
secondary
#825420
accent
#992CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #052242

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

Preview Lab → · Contrast checker → · Palette generator →

#052242 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva