#052238#052238

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

Color values

HEX#052238
RGBrgb(5, 34, 56)
HSLhsl(206, 84%, 12%)
HSVhsv(206, 91%, 22%)
CMYKcmyk(91.1%, 39.3%, 0%, 78%)
CIE-LABlab(12.36, -1.22, -17.32)
CIE-LCHlch(12.36, 17.36, 265.97°)
OKLaboklab(24.36% -0.0226 -0.0492)
OKLCHoklch(24.36% 0.054 245.4)
XYZxyz(1.3481, 1.4617, 3.9517)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052238 #381B05
analogous
#053835 #052238 #050938
triadic
#052238 #380522 #223805
tetradic
#052238 #350538 #381B05 #093805
square
#052238 #350538 #381B05 #093805
split-complementary
#052238 #380509 #383505
monochromatic
#03111C #03111C #052238 #0A4470 #0F66A8

Accessibility & contrast

On white

16.25
#052238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052238
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052238#FFFFFF#000000##FFFFFF
##0522381.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#101E38
Tritanopia (blue-blind)
#00272A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #052238;
/* rgb */ color: rgb(5, 34, 56);
/* oklch */ color: oklch(24.4% 0.054 245.4);
Tailwind
colors: {
  custom: {
    50: '#4e5c6e',
    500: '#052238',
    950: '#000000',
  },
}
SCSS
$custom: #052238;
$custom-light: #4e5c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#052238",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 205.882,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24358,
    "c": 0.05417,
    "h": 245.4
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#052238
secondary
#794620
accent
#862EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #052238

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

Preview Lab → · Contrast checker → · Palette generator →

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