#0B0D4C#0B0D4C

#0B0D4C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.112 H 271.0°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#0B0D4C
RGBrgb(11, 13, 76)
HSLhsl(238, 75%, 17%)
HSVhsv(238, 86%, 30%)
CMYKcmyk(85.5%, 82.9%, 0%, 70.2%)
CIE-LABlab(7.95, 24.52, -38.52)
CIE-LCHlch(7.95, 45.66, 302.47°)
OKLaboklab(21.69% 0.002 -0.1115)
OKLCHoklch(21.69% 0.112 271)
XYZxyz(1.5860, 0.8806, 6.9225)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0D4C #4C4A0B
analogous
#0B2E4C #0B0D4C #2A0B4C
triadic
#0B0D4C #4C0B0D #0D4C0B
tetradic
#0B0D4C #4C0B2E #4C4A0B #0B4C2A
square
#0B0D4C #4C0B2E #4C4A0B #0B4C2A
split-complementary
#0B0D4C #4C2A0B #2E4C0B
monochromatic
#04051B #04051B #0B0D4C #131681 #1A1FB7

Accessibility & contrast

On white

17.85
#0B0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0B0D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0D4C
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0D4C#FFFFFF#000000##FFFFFF
##0B0D4C1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4E
Deuteranopia (green-blind)
#00144B
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b0d4c;
/* rgb */ color: rgb(11, 13, 76);
/* oklch */ color: oklch(21.7% 0.112 271.0);
Tailwind
colors: {
  custom: {
    50: '#584c7f',
    500: '#0b0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #0b0d4c;
$custom-light: #584c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0d4c",
  "rgb": {
    "r": 11,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 238.154,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.21689,
    "c": 0.11157,
    "h": 271
  },
  "luminance": 0.00881
}

Semantic roles & 50–950 ramp

primary
#0B0D4C
secondary
#88852B
accent
#EC36F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0B0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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