#0D143E#0D143E

#0D143E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.080 H 270.8°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#0D143E
RGBrgb(13, 20, 62)
HSLhsl(231, 65%, 15%)
HSVhsv(231, 79%, 24%)
CMYKcmyk(79%, 67.7%, 0%, 75.7%)
CIE-LABlab(8.43, 13.84, -27.89)
CIE-LCHlch(8.43, 31.13, 296.39°)
OKLaboklab(21.6% 0.0012 -0.0804)
OKLCHoklch(21.6% 0.08 270.8)
XYZxyz(1.2853, 0.9336, 4.6689)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D143E #3E370D
analogous
#0D2C3E #0D143E #1F0D3E
triadic
#0D143E #3E0D14 #143E0D
tetradic
#0D143E #3E0D2C #3E370D #0D3E1F
square
#0D143E #3E0D2C #3E370D #0D3E1F
split-complementary
#0D143E #3E1F0D #2C3E0D
monochromatic
#050819 #050819 #0D143E #182471 #2235A3

Accessibility & contrast

On white

17.69
#0D143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0D143E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D143E
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D143E#FFFFFF#000000##FFFFFF
##0D143E1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#00163D
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d143e;
/* rgb */ color: rgb(13, 20, 62);
/* oklch */ color: oklch(21.6% 0.080 270.8);
Tailwind
colors: {
  custom: {
    50: '#545174',
    500: '#0d143e',
    950: '#000000',
  },
}
SCSS
$custom: #0d143e;
$custom-light: #545174;
$custom-dark: #000000;
JSON
{
  "hex": "#0d143e",
  "rgb": {
    "r": 13,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 231.429,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21595,
    "c": 0.08042,
    "h": 270.8
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#0D143E
secondary
#7A6F2D
accent
#D040E8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D143E

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

Preview Lab → · Contrast checker → · Palette generator →

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