#0D2143#0D2143

#0D2143 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.3% C 0.069 H 260.3°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#0D2143
RGBrgb(13, 33, 67)
HSLhsl(218, 68%, 16%)
HSVhsv(218, 81%, 26%)
CMYKcmyk(80.6%, 50.7%, 0%, 73.7%)
CIE-LABlab(13.10, 5.92, -23.87)
CIE-LCHlch(13.10, 24.59, 283.92°)
OKLaboklab(25.27% -0.0117 -0.0683)
OKLCHoklch(25.27% 0.069 260.3)
XYZxyz(1.7226, 1.5783, 5.5230)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2143 #432F0D
analogous
#0D3C43 #0D2143 #140D43
triadic
#0D2143 #430D21 #21430D
tetradic
#0D2143 #430D3C #432F0D #0D4314
square
#0D2143 #430D3C #432F0D #0D4314
split-complementary
#0D2143 #43140D #3C430D
monochromatic
#050D1A #050D1A #0D2143 #173A76 #2153AA

Accessibility & contrast

On white

15.96
#0D2143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2143
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2143#FFFFFF#000000##FFFFFF
##0D21431.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102444
Deuteranopia (green-blind)
#061F42
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d2143;
/* rgb */ color: rgb(13, 33, 67);
/* oklch */ color: oklch(25.3% 0.069 260.3);
Tailwind
colors: {
  custom: {
    50: '#545b77',
    500: '#0d2143',
    950: '#000000',
  },
}
SCSS
$custom: #0d2143;
$custom-light: #545b77;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2143",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 67
  },
  "hsl": {
    "h": 217.778,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2527,
    "c": 0.06932,
    "h": 260.3
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#0D2143
secondary
#7E602D
accent
#AA3DEA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0D2143

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

Preview Lab → · Contrast checker → · Palette generator →

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