#0B123F#0B123F

#0B123F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.086 H 270.3°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#0B123F
RGBrgb(11, 18, 63)
HSLhsl(232, 70%, 15%)
HSVhsv(232, 83%, 25%)
CMYKcmyk(82.5%, 71.4%, 0%, 75.3%)
CIE-LABlab(7.79, 15.51, -29.64)
CIE-LCHlch(7.79, 33.46, 297.62°)
OKLaboklab(21.12% 0.0005 -0.0856)
OKLCHoklch(21.12% 0.086 270.3)
XYZxyz(1.2512, 0.8625, 4.8022)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B123F #3F380B
analogous
#0B2C3F #0B123F #1E0B3F
triadic
#0B123F #3F0B12 #123F0B
tetradic
#0B123F #3F0B2C #3F380B #0B3F1E
square
#0B123F #3F0B2C #3F380B #0B3F1E
split-complementary
#0B123F #3F1E0B #2C3F0B
monochromatic
#05071A #05071A #0B123F #142173 #1D30A7

Accessibility & contrast

On white

17.91
#0B123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0B123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B123F
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B123F#FFFFFF#000000##FFFFFF
##0B123F1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b123f;
/* rgb */ color: rgb(11, 18, 63);
/* oklch */ color: oklch(21.1% 0.086 270.3);
Tailwind
colors: {
  custom: {
    50: '#534f74',
    500: '#0b123f',
    950: '#000000',
  },
}
SCSS
$custom: #0b123f;
$custom-light: #534f74;
$custom-dark: #000000;
JSON
{
  "hex": "#0b123f",
  "rgb": {
    "r": 11,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 231.923,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21121,
    "c": 0.08564,
    "h": 270.3
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#0B123F
secondary
#7C712A
accent
#D53BED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B123F

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

Preview Lab → · Contrast checker → · Palette generator →

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