#0B123D#0B123D

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

Color values

HEX#0B123D
RGBrgb(11, 18, 61)
HSLhsl(232, 69%, 14%)
HSVhsv(232, 82%, 24%)
CMYKcmyk(82%, 70.5%, 0%, 76.1%)
CIE-LABlab(7.59, 14.61, -28.54)
CIE-LCHlch(7.59, 32.06, 297.11°)
OKLaboklab(20.91% 0.0006 -0.0824)
OKLCHoklch(20.91% 0.082 270.4)
XYZxyz(1.1963, 0.8406, 4.5132)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B123D #3D360B
analogous
#0B2B3D #0B123D #1D0B3D
triadic
#0B123D #3D0B12 #123D0B
tetradic
#0B123D #3D0B2B #3D360B #0B3D1D
square
#0B123D #3D0B2B #3D360B #0B3D1D
split-complementary
#0B123D #3D1D0B #2B3D0B
monochromatic
#05081A #05081A #0B123D #142171 #1E31A5

Accessibility & contrast

On white

17.98
#0B123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B123D
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B123D#FFFFFF#000000##FFFFFF
##0B123D1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b123d;
/* rgb */ color: rgb(11, 18, 61);
/* oklch */ color: oklch(20.9% 0.082 270.4);
Tailwind
colors: {
  custom: {
    50: '#534f73',
    500: '#0b123d',
    950: '#000000',
  },
}
SCSS
$custom: #0b123d;
$custom-light: #534f73;
$custom-dark: #000000;
JSON
{
  "hex": "#0b123d",
  "rgb": {
    "r": 11,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 231.6,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20907,
    "c": 0.08243,
    "h": 270.4
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#0B123D
secondary
#7A6F2A
accent
#D43CEC
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B123D

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

Preview Lab → · Contrast checker → · Palette generator →

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