#0D1250#0D1250

#0D1250 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.111 H 270.6°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#0D1250
RGBrgb(13, 18, 80)
HSLhsl(236, 72%, 18%)
HSVhsv(236, 84%, 31%)
CMYKcmyk(83.7%, 77.5%, 0%, 68.6%)
CIE-LABlab(9.78, 22.90, -38.28)
CIE-LCHlch(9.78, 44.60, 300.89°)
OKLaboklab(23.17% 0.0012 -0.1108)
OKLCHoklch(23.17% 0.111 270.6)
XYZxyz(1.8298, 1.0972, 7.7032)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1250 #504B0D
analogous
#0D3350 #0D1250 #290D50
triadic
#0D1250 #500D12 #12500D
tetradic
#0D1250 #500D33 #504B0D #0D5029
square
#0D1250 #500D33 #504B0D #0D5029
split-complementary
#0D1250 #50290D #33500D
monochromatic
#04061A #04061B #0D1250 #161E85 #1E2AB9

Accessibility & contrast

On white

17.22
#0D1250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0D1250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1250
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1250#FFFFFF#000000##FFFFFF
##0D12501.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#00184F
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d1250;
/* rgb */ color: rgb(13, 18, 80);
/* oklch */ color: oklch(23.2% 0.111 270.6);
Tailwind
colors: {
  custom: {
    50: '#595082',
    500: '#0d1250',
    950: '#000000',
  },
}
SCSS
$custom: #0d1250;
$custom-light: #595082;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1250",
  "rgb": {
    "r": 13,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 235.522,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23167,
    "c": 0.11082,
    "h": 270.6
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#0D1250
secondary
#8B842E
accent
#E139EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D1250

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

Preview Lab → · Contrast checker → · Palette generator →

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