#0B124A#0B124A

#0B124A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.103 H 269.8°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#0B124A
RGBrgb(11, 18, 74)
HSLhsl(233, 74%, 17%)
HSVhsv(233, 85%, 29%)
CMYKcmyk(85.1%, 75.7%, 0%, 71%)
CIE-LABlab(8.97, 20.22, -35.45)
CIE-LCHlch(8.97, 40.81, 299.70°)
OKLaboklab(22.35% -0.0003 -0.1026)
OKLCHoklch(22.35% 0.103 269.8)
XYZxyz(1.5899, 0.9980, 6.5861)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B124A #4A430B
analogous
#0B324A #0B124A #240B4A
triadic
#0B124A #4A0B12 #124A0B
tetradic
#0B124A #4A0B32 #4A430B #0B4A24
square
#0B124A #4A0B32 #4A430B #0B4A24
split-complementary
#0B124A #4A240B #324A0B
monochromatic
#04061B #04061B #0B124A #131F7F #1B2CB5

Accessibility & contrast

On white

17.51
#0B124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0B124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B124A
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B124A#FFFFFF#000000##FFFFFF
##0B124A1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001649
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0b124a;
/* rgb */ color: rgb(11, 18, 74);
/* oklch */ color: oklch(22.4% 0.103 269.8);
Tailwind
colors: {
  custom: {
    50: '#574f7d',
    500: '#0b124a',
    950: '#000000',
  },
}
SCSS
$custom: #0b124a;
$custom-light: #574f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b124a",
  "rgb": {
    "r": 11,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 233.333,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2235,
    "c": 0.10262,
    "h": 269.8
  },
  "luminance": 0.00998
}

Semantic roles & 50–950 ramp

primary
#0B124A
secondary
#867C2B
accent
#DC37F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0B124A

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

Preview Lab → · Contrast checker → · Palette generator →

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