#0B023B#0B023B

#0B023B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.5% C 0.102 H 277.3°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#0B023B
RGBrgb(11, 2, 59)
HSLhsl(249, 93%, 12%)
HSVhsv(249, 97%, 23%)
CMYKcmyk(81.4%, 96.6%, 0%, 76.9%)
CIE-LABlab(3.89, 21.95, -33.13)
CIE-LCHlch(3.89, 39.74, 303.52°)
OKLaboklab(17.48% 0.0128 -0.1007)
OKLCHoklch(17.48% 0.102 277.3)
XYZxyz(0.9489, 0.4302, 4.1699)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B023B #323B02
analogous
#02163B #0B023B #28023B
triadic
#0B023B #3B0B02 #023B0B
tetradic
#0B023B #3B0216 #323B02 #023B28
square
#0B023B #3B0216 #323B02 #023B28
split-complementary
#0B023B #3B2802 #163B02
monochromatic
#06011E #06011E #0B023B #160476 #2106B1

Accessibility & contrast

On white

19.34
#0B023B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0B023B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B023B
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B023B#FFFFFF#000000##FFFFFF
##0B023B1.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103D
Deuteranopia (green-blind)
#000B3A
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0b023b;
/* rgb */ color: rgb(11, 2, 59);
/* oklch */ color: oklch(17.5% 0.102 277.3);
Tailwind
colors: {
  custom: {
    50: '#524672',
    500: '#0b023b',
    950: '#000000',
  },
}
SCSS
$custom: #0b023b;
$custom-light: #524672;
$custom-dark: #000000;
JSON
{
  "hex": "#0b023b",
  "rgb": {
    "r": 11,
    "g": 2,
    "b": 59
  },
  "hsl": {
    "h": 249.474,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17479,
    "c": 0.10153,
    "h": 277.3
  },
  "luminance": 0.0043
}

Semantic roles & 50–950 ramp

primary
#0B023B
secondary
#6F7E1A
accent
#FF29DD
background
#F4F3F6
surface
#E8E5EC
border
#C4C1C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0B023B

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

Preview Lab → · Contrast checker → · Palette generator →

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