#0D2145#0D2145

#0D2145 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.073 H 261.1°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#0D2145
RGBrgb(13, 33, 69)
HSLhsl(219, 68%, 16%)
HSVhsv(219, 81%, 27%)
CMYKcmyk(81.2%, 52.2%, 0%, 72.9%)
CIE-LABlab(13.25, 6.80, -25.02)
CIE-LCHlch(13.25, 25.93, 285.21°)
OKLaboklab(25.43% -0.0113 -0.0717)
OKLCHoklch(25.43% 0.073 261.1)
XYZxyz(1.7836, 1.6028, 5.8444)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2145 #45310D
analogous
#0D3D45 #0D2145 #150D45
triadic
#0D2145 #450D21 #21450D
tetradic
#0D2145 #450D3D #45310D #0D4515
square
#0D2145 #450D3D #45310D #0D4515
split-complementary
#0D2145 #45150D #3D450D
monochromatic
#050C1A #050C1A #0D2145 #173A78 #2052AC

Accessibility & contrast

On white

15.90
#0D2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D2145#FFFFFF#000000##FFFFFF
##0D21451.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)
#0E2546
Deuteranopia (green-blind)
#032044
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d2145;
/* rgb */ color: rgb(13, 33, 69);
/* oklch */ color: oklch(25.4% 0.073 261.1);
Tailwind
colors: {
  custom: {
    50: '#555b79',
    500: '#0d2145',
    950: '#000000',
  },
}
SCSS
$custom: #0d2145;
$custom-light: #555b79;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2145",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 218.571,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25433,
    "c": 0.0726,
    "h": 261.1
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#0D2145
secondary
#80632D
accent
#AD3DEB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0D2145

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

Preview Lab → · Contrast checker → · Palette generator →

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