#0D2340#0D2340

#0D2340 is a dark, moderate cyan. Relative luminance 0.017; OKLCH L 25.6% C 0.062 H 256.2°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#0D2340
RGBrgb(13, 35, 64)
HSLhsl(214, 66%, 15%)
HSVhsv(214, 80%, 25%)
CMYKcmyk(79.7%, 45.3%, 0%, 74.9%)
CIE-LABlab(13.58, 3.07, -21.01)
CIE-LCHlch(13.58, 21.23, 278.32°)
OKLaboklab(25.57% -0.0147 -0.0599)
OKLCHoklch(25.57% 0.062 256.2)
XYZxyz(1.6921, 1.6576, 5.0803)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2340 #402A0D
analogous
#0D3C40 #0D2340 #110D40
triadic
#0D2340 #400D23 #23400D
tetradic
#0D2340 #400D3C #402A0D #0D4011
square
#0D2340 #400D3C #402A0D #0D4011
split-complementary
#0D2340 #40110D #3C400D
monochromatic
#050E19 #050E19 #0D2340 #173F73 #225BA6

Accessibility & contrast

On white

15.77
#0D2340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0D2340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2340
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2340#FFFFFF#000000##FFFFFF
##0D23401.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162541
Deuteranopia (green-blind)
#0E213F
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d2340;
/* rgb */ color: rgb(13, 35, 64);
/* oklch */ color: oklch(25.6% 0.062 256.2);
Tailwind
colors: {
  custom: {
    50: '#535d75',
    500: '#0d2340',
    950: '#000000',
  },
}
SCSS
$custom: #0d2340;
$custom-light: #535d75;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2340",
  "rgb": {
    "r": 13,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 214.118,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25573,
    "c": 0.06166,
    "h": 256.2
  },
  "luminance": 0.01658
}

Semantic roles & 50–950 ramp

primary
#0D2340
secondary
#7C5A2D
accent
#A03FE9
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0D2340

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

Preview Lab → · Contrast checker → · Palette generator →

#0D2340 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva