#0B0D40#0B0D40

#0B0D40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.094 H 272.5°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#0B0D40
RGBrgb(11, 13, 64)
HSLhsl(238, 71%, 15%)
HSVhsv(238, 83%, 25%)
CMYKcmyk(82.8%, 79.7%, 0%, 74.9%)
CIE-LABlab(6.58, 19.30, -32.33)
CIE-LCHlch(6.58, 37.65, 300.84°)
OKLaboklab(20.21% 0.0042 -0.094)
OKLCHoklch(20.21% 0.094 272.5)
XYZxyz(1.2070, 0.7290, 4.9266)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0D40 #403E0B
analogous
#0B2840 #0B0D40 #240B40
triadic
#0B0D40 #400B0D #0D400B
tetradic
#0B0D40 #400B28 #403E0B #0B4024
square
#0B0D40 #400B28 #403E0B #0B4024
split-complementary
#0B0D40 #40240B #28400B
monochromatic
#04051A #04051A #0B0D40 #141874 #1D22A8

Accessibility & contrast

On white

18.33
#0B0D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0B0D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0D40
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0D40#FFFFFF#000000##FFFFFF
##0B0D401.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00123F
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0b0d40;
/* rgb */ color: rgb(11, 13, 64);
/* oklch */ color: oklch(20.2% 0.094 272.5);
Tailwind
colors: {
  custom: {
    50: '#544c75',
    500: '#0b0d40',
    950: '#000000',
  },
}
SCSS
$custom: #0b0d40;
$custom-light: #544c75;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0d40",
  "rgb": {
    "r": 11,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 237.736,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2021,
    "c": 0.09407,
    "h": 272.5
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#0B0D40
secondary
#7D7A2A
accent
#E73AED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0D40

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

Preview Lab → · Contrast checker → · Palette generator →

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