#0B1640#0B1640

#0B1640 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.081 H 267.9°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#0B1640
RGBrgb(11, 22, 64)
HSLhsl(228, 71%, 15%)
HSVhsv(228, 83%, 25%)
CMYKcmyk(82.8%, 65.6%, 0%, 74.9%)
CIE-LABlab(9.12, 12.83, -28.19)
CIE-LCHlch(9.12, 30.98, 294.47°)
OKLaboklab(22.14% -0.003 -0.0813)
OKLCHoklch(22.14% 0.081 267.9)
XYZxyz(1.3500, 1.0150, 4.9743)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1640 #40350B
analogous
#0B3140 #0B1640 #1B0B40
triadic
#0B1640 #400B16 #16400B
tetradic
#0B1640 #400B31 #40350B #0B401B
square
#0B1640 #400B31 #40350B #0B401B
split-complementary
#0B1640 #401B0B #31400B
monochromatic
#04091A #04091A #0B1640 #142874 #1D3AA8

Accessibility & contrast

On white

17.46
#0B1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0B1640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1640
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1640#FFFFFF#000000##FFFFFF
##0B16401.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b1640;
/* rgb */ color: rgb(11, 22, 64);
/* oklch */ color: oklch(22.1% 0.081 267.9);
Tailwind
colors: {
  custom: {
    50: '#535275',
    500: '#0b1640',
    950: '#000000',
  },
}
SCSS
$custom: #0b1640;
$custom-light: #535275;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1640",
  "rgb": {
    "r": 11,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 227.547,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22136,
    "c": 0.08137,
    "h": 267.9
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#0B1640
secondary
#7D6C2A
accent
#C83AED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B1640

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

Preview Lab → · Contrast checker → · Palette generator →

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