#0B1143#0B1143

#0B1143 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.093 H 270.6°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#0B1143
RGBrgb(11, 17, 67)
HSLhsl(234, 72%, 15%)
HSVhsv(234, 84%, 26%)
CMYKcmyk(83.6%, 74.6%, 0%, 73.7%)
CIE-LABlab(7.92, 18.01, -32.27)
CIE-LCHlch(7.92, 36.95, 299.17°)
OKLaboklab(21.35% 0.001 -0.0933)
OKLCHoklch(21.35% 0.093 270.6)
XYZxyz(1.3512, 0.8771, 5.4072)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1143 #433D0B
analogous
#0B2D43 #0B1143 #210B43
triadic
#0B1143 #430B11 #11430B
tetradic
#0B1143 #430B2D #433D0B #0B4321
square
#0B1143 #430B2D #433D0B #0B4321
split-complementary
#0B1143 #43210B #2D430B
monochromatic
#04071A #04071A #0B1143 #141E78 #1C2CAC

Accessibility & contrast

On white

17.87
#0B1143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1143
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1143#FFFFFF#000000##FFFFFF
##0B11431.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001542
Tritanopia (blue-blind)
#001E28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b1143;
/* rgb */ color: rgb(11, 17, 67);
/* oklch */ color: oklch(21.3% 0.093 270.6);
Tailwind
colors: {
  custom: {
    50: '#554e78',
    500: '#0b1143',
    950: '#000000',
  },
}
SCSS
$custom: #0b1143;
$custom-light: #554e78;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1143",
  "rgb": {
    "r": 11,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 233.571,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21349,
    "c": 0.09333,
    "h": 270.6
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#0B1143
secondary
#80762A
accent
#DB39EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0B1143

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

Preview Lab → · Contrast checker → · Palette generator →

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