#052340#052340

#052340 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.2% C 0.065 H 251.1°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#052340
RGBrgb(5, 35, 64)
HSLhsl(209, 86%, 14%)
HSVhsv(209, 92%, 25%)
CMYKcmyk(92.2%, 45.3%, 0%, 74.9%)
CIE-LABlab(13.26, 1.74, -21.54)
CIE-LCHlch(13.26, 21.61, 274.61°)
OKLaboklab(25.23% -0.021 -0.0616)
OKLCHoklch(25.23% 0.065 251.1)
XYZxyz(1.5887, 1.6043, 5.0754)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052340 #402205
analogous
#05403F #052340 #050540
triadic
#052340 #400523 #234005
tetradic
#052340 #3F0540 #402205 #054005
square
#052340 #3F0540 #402205 #054005
split-complementary
#052340 #400505 #403F05
monochromatic
#02101C #02101C #052340 #094279 #0E61B2

Accessibility & contrast

On white

15.90
#052340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#052340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052340
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052340#FFFFFF#000000##FFFFFF
##0523401.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152541
Deuteranopia (green-blind)
#0B203F
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #052340;
/* rgb */ color: rgb(5, 35, 64);
/* oklch */ color: oklch(25.2% 0.065 251.1);
Tailwind
colors: {
  custom: {
    50: '#505d75',
    500: '#052340',
    950: '#000000',
  },
}
SCSS
$custom: #052340;
$custom-light: #505d75;
$custom-dark: #000000;
JSON
{
  "hex": "#052340",
  "rgb": {
    "r": 5,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 209.492,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25232,
    "c": 0.06507,
    "h": 251.1
  },
  "luminance": 0.01604
}

Semantic roles & 50–950 ramp

primary
#052340
secondary
#815020
accent
#922CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #052340

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

Preview Lab → · Contrast checker → · Palette generator →

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