#0B023A#0B023A

#0B023A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.3% C 0.100 H 277.6°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#0B023A
RGBrgb(11, 2, 58)
HSLhsl(250, 93%, 12%)
HSVhsv(250, 97%, 23%)
CMYKcmyk(81%, 96.6%, 0%, 77.3%)
CIE-LABlab(3.79, 21.36, -32.55)
CIE-LCHlch(3.79, 38.93, 303.28°)
OKLaboklab(17.33% 0.0133 -0.0993)
OKLCHoklch(17.33% 0.1 277.6)
XYZxyz(0.9232, 0.4200, 4.0346)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B023A #313A02
analogous
#02153A #0B023A #27023A
triadic
#0B023A #3A0B02 #023A0B
tetradic
#0B023A #3A0215 #313A02 #023A27
square
#0B023A #3A0215 #313A02 #023A27
split-complementary
#0B023A #3A2702 #153A02
monochromatic
#06011E #06011E #0B023A #160475 #2106B0

Accessibility & contrast

On white

19.37
#0B023A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0B023A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B023A
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B023A#FFFFFF#000000##FFFFFF
##0B023A1.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103C
Deuteranopia (green-blind)
#000B39
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0b023a;
/* rgb */ color: rgb(11, 2, 58);
/* oklch */ color: oklch(17.3% 0.100 277.6);
Tailwind
colors: {
  custom: {
    50: '#524671',
    500: '#0b023a',
    950: '#000000',
  },
}
SCSS
$custom: #0b023a;
$custom-light: #524671;
$custom-dark: #000000;
JSON
{
  "hex": "#0b023a",
  "rgb": {
    "r": 11,
    "g": 2,
    "b": 58
  },
  "hsl": {
    "h": 249.643,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17334,
    "c": 0.10022,
    "h": 277.6
  },
  "luminance": 0.0042
}

Semantic roles & 50–950 ramp

primary
#0B023A
secondary
#6E7D1A
accent
#FF29DD
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0B023A

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

Preview Lab → · Contrast checker → · Palette generator →

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