#052239#052239

#052239 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.4% C 0.056 H 246.5°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#052239
RGBrgb(5, 34, 57)
HSLhsl(207, 84%, 12%)
HSVhsv(207, 91%, 22%)
CMYKcmyk(91.2%, 40.4%, 0%, 77.6%)
CIE-LABlab(12.43, -0.76, -17.93)
CIE-LCHlch(12.43, 17.94, 267.57°)
OKLaboklab(24.43% -0.0222 -0.051)
OKLCHoklch(24.43% 0.056 246.5)
XYZxyz(1.3728, 1.4716, 4.0818)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052239 #391C05
analogous
#053936 #052239 #050839
triadic
#052239 #390522 #223905
tetradic
#052239 #360539 #391C05 #083905
square
#052239 #360539 #391C05 #083905
split-complementary
#052239 #390508 #393605
monochromatic
#02111C #02111C #052239 #0A4471 #0F65AA

Accessibility & contrast

On white

16.22
#052239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#052239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052239
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052239#FFFFFF#000000##FFFFFF
##0522391.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17233A
Deuteranopia (green-blind)
#101E39
Tritanopia (blue-blind)
#00282A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #052239;
/* rgb */ color: rgb(5, 34, 57);
/* oklch */ color: oklch(24.4% 0.056 246.5);
Tailwind
colors: {
  custom: {
    50: '#4e5c6f',
    500: '#052239',
    950: '#000000',
  },
}
SCSS
$custom: #052239;
$custom-light: #4e5c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#052239",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 57
  },
  "hsl": {
    "h": 206.538,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24429,
    "c": 0.05564,
    "h": 246.5
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#052239
secondary
#7A4820
accent
#882EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #052239

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

Preview Lab → · Contrast checker → · Palette generator →

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