#0D0F3E#0D0F3E

#0D0F3E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.088 H 273.7°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#0D0F3E
RGBrgb(13, 15, 62)
HSLhsl(238, 65%, 15%)
HSVhsv(238, 79%, 24%)
CMYKcmyk(79%, 75.8%, 0%, 75.7%)
CIE-LABlab(7.00, 17.48, -30.22)
CIE-LCHlch(7.00, 34.91, 300.05°)
OKLaboklab(20.51% 0.0057 -0.0875)
OKLCHoklch(20.51% 0.088 273.7)
XYZxyz(1.2060, 0.7749, 4.6425)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F3E #3E3C0D
analogous
#0D283E #0D0F3E #240D3E
triadic
#0D0F3E #3E0D0F #0F3E0D
tetradic
#0D0F3E #3E0D28 #3E3C0D #0D3E24
square
#0D0F3E #3E0D28 #3E3C0D #0D3E24
split-complementary
#0D0F3E #3E240D #283E0D
monochromatic
#050619 #050619 #0D0F3E #181B71 #2227A3

Accessibility & contrast

On white

18.18
#0D0F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0D0F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0F3E
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F3E#FFFFFF#000000##FFFFFF
##0D0F3E1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00133D
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d0f3e;
/* rgb */ color: rgb(13, 15, 62);
/* oklch */ color: oklch(20.5% 0.088 273.7);
Tailwind
colors: {
  custom: {
    50: '#544d74',
    500: '#0d0f3e',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f3e;
$custom-light: #544d74;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f3e",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 237.551,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20514,
    "c": 0.08768,
    "h": 273.7
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#0D0F3E
secondary
#7A762D
accent
#E140E8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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