#0D2150#0D2150

#0D2150 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.4% C 0.090 H 263.9°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#0D2150
RGBrgb(13, 33, 80)
HSLhsl(222, 72%, 18%)
HSVhsv(222, 84%, 31%)
CMYKcmyk(83.7%, 58.8%, 0%, 68.6%)
CIE-LABlab(14.13, 11.70, -31.16)
CIE-LCHlch(14.13, 33.28, 290.58°)
OKLaboklab(26.39% -0.0096 -0.0898)
OKLCHoklch(26.39% 0.09 263.9)
XYZxyz(2.1573, 1.7522, 7.8124)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2150 #503C0D
analogous
#0D4250 #0D2150 #1B0D50
triadic
#0D2150 #500D21 #21500D
tetradic
#0D2150 #500D42 #503C0D #0D501B
square
#0D2150 #500D42 #503C0D #0D501B
split-complementary
#0D2150 #501B0D #42500D
monochromatic
#040B1A #040B1B #0D2150 #163785 #1E4CB9

Accessibility & contrast

On white

15.55
#0D2150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0D2150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2150
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2150#FFFFFF#000000##FFFFFF
##0D21501.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012752
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0d2150;
/* rgb */ color: rgb(13, 33, 80);
/* oklch */ color: oklch(26.4% 0.090 263.9);
Tailwind
colors: {
  custom: {
    50: '#585b81',
    500: '#0d2150',
    950: '#000000',
  },
}
SCSS
$custom: #0d2150;
$custom-light: #585b81;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2150",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 80
  },
  "hsl": {
    "h": 222.09,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26388,
    "c": 0.0903,
    "h": 263.9
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#0D2150
secondary
#8B6F2E
accent
#B939EF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D2150

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

Preview Lab → · Contrast checker → · Palette generator →

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