#0B123B#0B123B

#0B123B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.079 H 270.4°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#0B123B
RGBrgb(11, 18, 59)
HSLhsl(231, 69%, 14%)
HSVhsv(231, 81%, 23%)
CMYKcmyk(81.4%, 69.5%, 0%, 76.9%)
CIE-LABlab(7.40, 13.70, -27.41)
CIE-LCHlch(7.40, 30.65, 296.55°)
OKLaboklab(20.7% 0.0006 -0.0792)
OKLCHoklch(20.7% 0.079 270.4)
XYZxyz(1.1435, 0.8194, 4.2347)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B123B #3B340B
analogous
#0B2A3B #0B123B #1C0B3B
triadic
#0B123B #3B0B12 #123B0B
tetradic
#0B123B #3B0B2A #3B340B #0B3B1C
square
#0B123B #3B0B2A #3B340B #0B3B1C
split-complementary
#0B123B #3B1C0B #2A3B0B
monochromatic
#05081A #05081A #0B123B #15226F #1E31A2

Accessibility & contrast

On white

18.04
#0B123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B123B
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B123B#FFFFFF#000000##FFFFFF
##0B123B1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b123b;
/* rgb */ color: rgb(11, 18, 59);
/* oklch */ color: oklch(20.7% 0.079 270.4);
Tailwind
colors: {
  custom: {
    50: '#524f71',
    500: '#0b123b',
    950: '#000000',
  },
}
SCSS
$custom: #0b123b;
$custom-light: #524f71;
$custom-dark: #000000;
JSON
{
  "hex": "#0b123b",
  "rgb": {
    "r": 11,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 231.25,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20698,
    "c": 0.07917,
    "h": 270.4
  },
  "luminance": 0.0082
}

Semantic roles & 50–950 ramp

primary
#0B123B
secondary
#786C2A
accent
#D23CEB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #0B123B

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

Preview Lab → · Contrast checker → · Palette generator →

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