#0B0B3F#0B0B3F

#0B0B3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.095 H 273.4°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#0B0B3F
RGBrgb(11, 11, 63)
HSLhsl(240, 70%, 15%)
HSVhsv(240, 83%, 25%)
CMYKcmyk(82.5%, 82.5%, 0%, 75.3%)
CIE-LABlab(6.05, 19.91, -32.49)
CIE-LCHlch(6.05, 38.11, 301.50°)
OKLaboklab(19.72% 0.0056 -0.0949)
OKLCHoklch(19.72% 0.095 273.4)
XYZxyz(1.1546, 0.6693, 4.7700)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0B3F #3F3F0B
analogous
#0B253F #0B0B3F #250B3F
triadic
#0B0B3F #3F0B0B #0B3F0B
tetradic
#0B0B3F #3F0B25 #3F3F0B #0B3F25
square
#0B0B3F #3F0B25 #3F3F0B #0B3F25
split-complementary
#0B0B3F #3F250B #253F0B
monochromatic
#05051A #05051A #0B0B3F #141473 #1D1DA7

Accessibility & contrast

On white

18.52
#0B0B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0B0B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0B3F
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0B3F#FFFFFF#000000##FFFFFF
##0B0B3F1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0b0b3f;
/* rgb */ color: rgb(11, 11, 63);
/* oklch */ color: oklch(19.7% 0.095 273.4);
Tailwind
colors: {
  custom: {
    50: '#544b75',
    500: '#0b0b3f',
    950: '#000000',
  },
}
SCSS
$custom: #0b0b3f;
$custom-light: #544b75;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0b3f",
  "rgb": {
    "r": 11,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 240,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19721,
    "c": 0.09509,
    "h": 273.4
  },
  "luminance": 0.00669
}

Semantic roles & 50–950 ramp

primary
#0B0B3F
secondary
#7C7C2A
accent
#ED3BED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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