#0B123A#0B123A

#0B123A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.078 H 270.5°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#0B123A
RGBrgb(11, 18, 58)
HSLhsl(231, 68%, 14%)
HSVhsv(231, 81%, 23%)
CMYKcmyk(81%, 69%, 0%, 77.3%)
CIE-LABlab(7.31, 13.24, -26.85)
CIE-LCHlch(7.31, 29.93, 296.25°)
OKLaboklab(20.59% 0.0006 -0.0775)
OKLCHoklch(20.59% 0.078 270.5)
XYZxyz(1.1178, 0.8091, 4.0994)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B123A #3A330B
analogous
#0B293A #0B123A #1B0B3A
triadic
#0B123A #3A0B12 #123A0B
tetradic
#0B123A #3A0B29 #3A330B #0B3A1B
square
#0B123A #3A0B29 #3A330B #0B3A1B
split-complementary
#0B123A #3A1B0B #293A0B
monochromatic
#05081A #05081A #0B123A #15226D #1F32A1

Accessibility & contrast

On white

18.08
#0B123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0B123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B123A
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B123A#FFFFFF#000000##FFFFFF
##0B123A1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b123a;
/* rgb */ color: rgb(11, 18, 58);
/* oklch */ color: oklch(20.6% 0.078 270.5);
Tailwind
colors: {
  custom: {
    50: '#524f70',
    500: '#0b123a',
    950: '#000000',
  },
}
SCSS
$custom: #0b123a;
$custom-light: #524f70;
$custom-dark: #000000;
JSON
{
  "hex": "#0b123a",
  "rgb": {
    "r": 11,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 231.064,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20594,
    "c": 0.07752,
    "h": 270.5
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#0B123A
secondary
#776B2A
accent
#D13DEB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0B123A

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

Preview Lab → · Contrast checker → · Palette generator →

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