#052338#052338

#052338 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.6% C 0.053 H 243.5°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#052338
RGBrgb(5, 35, 56)
HSLhsl(205, 84%, 12%)
HSVhsv(205, 91%, 22%)
CMYKcmyk(91.1%, 37.5%, 0%, 78%)
CIE-LABlab(12.73, -1.96, -16.73)
CIE-LCHlch(12.73, 16.85, 263.34°)
OKLaboklab(24.65% -0.0237 -0.0475)
OKLCHoklch(24.65% 0.053 243.5)
XYZxyz(1.3771, 1.5197, 3.9614)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052338 #381A05
analogous
#053834 #052338 #050938
triadic
#052338 #380523 #233805
tetradic
#052338 #340538 #381A05 #093805
square
#052338 #340538 #381A05 #093805
split-complementary
#052338 #380509 #383405
monochromatic
#03121C #03121C #052338 #0A4670 #0F69A8

Accessibility & contrast

On white

16.10
#052338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#052338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052338
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052338#FFFFFF#000000##FFFFFF
##0523381.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192439
Deuteranopia (green-blind)
#121F38
Tritanopia (blue-blind)
#00282A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #052338;
/* rgb */ color: rgb(5, 35, 56);
/* oklch */ color: oklch(24.6% 0.053 243.5);
Tailwind
colors: {
  custom: {
    50: '#4e5d6e',
    500: '#052338',
    950: '#000000',
  },
}
SCSS
$custom: #052338;
$custom-light: #4e5d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#052338",
  "rgb": {
    "r": 5,
    "g": 35,
    "b": 56
  },
  "hsl": {
    "h": 204.706,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2465,
    "c": 0.05308,
    "h": 243.5
  },
  "luminance": 0.0152
}

Semantic roles & 50–950 ramp

primary
#052338
secondary
#794520
accent
#822EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #052338

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

Preview Lab → · Contrast checker → · Palette generator →

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