#0D2242#0D2242

#0D2242 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.066 H 258.7°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#0D2242
RGBrgb(13, 34, 66)
HSLhsl(216, 67%, 15%)
HSVhsv(216, 80%, 26%)
CMYKcmyk(80.3%, 48.5%, 0%, 74.1%)
CIE-LABlab(13.37, 4.71, -22.74)
CIE-LCHlch(13.37, 23.22, 281.70°)
OKLaboklab(25.46% -0.013 -0.065)
OKLCHoklch(25.46% 0.066 258.7)
XYZxyz(1.7210, 1.6228, 5.3757)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2242 #422D0D
analogous
#0D3C42 #0D2242 #120D42
triadic
#0D2242 #420D22 #22420D
tetradic
#0D2242 #420D3C #422D0D #0D4212
square
#0D2242 #420D3C #422D0D #0D4212
split-complementary
#0D2242 #42120D #3C420D
monochromatic
#050D1A #050D1A #0D2242 #173C75 #2157A8

Accessibility & contrast

On white

15.85
#0D2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0D2242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2242
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2242#FFFFFF#000000##FFFFFF
##0D22421.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132543
Deuteranopia (green-blind)
#092041
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d2242;
/* rgb */ color: rgb(13, 34, 66);
/* oklch */ color: oklch(25.5% 0.066 258.7);
Tailwind
colors: {
  custom: {
    50: '#545c76',
    500: '#0d2242',
    950: '#000000',
  },
}
SCSS
$custom: #0d2242;
$custom-light: #545c76;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2242",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 216.226,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25456,
    "c": 0.06628,
    "h": 258.7
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#0D2242
secondary
#7E5E2D
accent
#A63EEA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0D2242

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

Preview Lab → · Contrast checker → · Palette generator →

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