#0B124E#0B124E

#0B124E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.109 H 269.6°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#0B124E
RGBrgb(11, 18, 78)
HSLhsl(234, 75%, 17%)
HSVhsv(234, 86%, 31%)
CMYKcmyk(85.9%, 76.9%, 0%, 69.4%)
CIE-LABlab(9.43, 21.89, -37.47)
CIE-LCHlch(9.43, 43.40, 300.29°)
OKLaboklab(22.82% -0.0008 -0.1085)
OKLCHoklch(22.82% 0.109 269.6)
XYZxyz(1.7290, 1.0536, 7.3185)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B124E #4E470B
analogous
#0B344E #0B124E #250B4E
triadic
#0B124E #4E0B12 #124E0B
tetradic
#0B124E #4E0B34 #4E470B #0B4E25
square
#0B124E #4E0B34 #4E470B #0B4E25
split-complementary
#0B124E #4E250B #344E0B
monochromatic
#04061B #04061B #0B124E #131E84 #1A2BB9

Accessibility & contrast

On white

17.34
#0B124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0B124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B124E
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B124E#FFFFFF#000000##FFFFFF
##0B124E1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#00174D
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b124e;
/* rgb */ color: rgb(11, 18, 78);
/* oklch */ color: oklch(22.8% 0.109 269.6);
Tailwind
colors: {
  custom: {
    50: '#585080',
    500: '#0b124e',
    950: '#000000',
  },
}
SCSS
$custom: #0b124e;
$custom-light: #585080;
$custom-dark: #000000;
JSON
{
  "hex": "#0b124e",
  "rgb": {
    "r": 11,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 233.731,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22817,
    "c": 0.10852,
    "h": 269.6
  },
  "luminance": 0.01054
}

Semantic roles & 50–950 ramp

primary
#0B124E
secondary
#8A802B
accent
#DE36F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0B124E

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

Preview Lab → · Contrast checker → · Palette generator →

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