#0B123E#0B123E

#0B123E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.084 H 270.4°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#0B123E
RGBrgb(11, 18, 62)
HSLhsl(232, 70%, 14%)
HSVhsv(232, 82%, 24%)
CMYKcmyk(82.3%, 71%, 0%, 75.7%)
CIE-LABlab(7.69, 15.07, -29.09)
CIE-LCHlch(7.69, 32.76, 297.38°)
OKLaboklab(21.01% 0.0006 -0.084)
OKLCHoklch(21.01% 0.084 270.4)
XYZxyz(1.2235, 0.8514, 4.6564)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B123E #3E370B
analogous
#0B2C3E #0B123E #1E0B3E
triadic
#0B123E #3E0B12 #123E0B
tetradic
#0B123E #3E0B2C #3E370B #0B3E1E
square
#0B123E #3E0B2C #3E370B #0B3E1E
split-complementary
#0B123E #3E1E0B #2C3E0B
monochromatic
#05081A #05081A #0B123E #142172 #1D30A6

Accessibility & contrast

On white

17.94
#0B123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B123E
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B123E#FFFFFF#000000##FFFFFF
##0B123E1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b123e;
/* rgb */ color: rgb(11, 18, 62);
/* oklch */ color: oklch(21.0% 0.084 270.4);
Tailwind
colors: {
  custom: {
    50: '#534f74',
    500: '#0b123e',
    950: '#000000',
  },
}
SCSS
$custom: #0b123e;
$custom-light: #534f74;
$custom-dark: #000000;
JSON
{
  "hex": "#0b123e",
  "rgb": {
    "r": 11,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 231.765,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21014,
    "c": 0.08404,
    "h": 270.4
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#0B123E
secondary
#7B702A
accent
#D43BED
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B123E

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

Preview Lab → · Contrast checker → · Palette generator →

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