#0B1A4B#0B1A4B

#0B1A4B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.093 H 266.3°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#0B1A4B
RGBrgb(11, 26, 75)
HSLhsl(226, 74%, 17%)
HSVhsv(226, 85%, 29%)
CMYKcmyk(85.3%, 65.3%, 0%, 70.6%)
CIE-LABlab(11.40, 14.61, -32.17)
CIE-LCHlch(11.40, 35.33, 294.42°)
OKLaboklab(24.17% -0.006 -0.0929)
OKLCHoklch(24.17% 0.093 266.3)
XYZxyz(1.7770, 1.3177, 6.8159)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1A4B #4B3C0B
analogous
#0B3A4B #0B1A4B #1C0B4B
triadic
#0B1A4B #4B0B1A #1A4B0B
tetradic
#0B1A4B #4B0B3A #4B3C0B #0B4B1C
square
#0B1A4B #4B0B3A #4B3C0B #0B4B1C
split-complementary
#0B1A4B #4B1C0B #3A4B0B
monochromatic
#04091B #04091B #0B1A4B #132D80 #1B3FB6

Accessibility & contrast

On white

16.62
#0B1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0B1A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1A4B
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1A4B#FFFFFF#000000##FFFFFF
##0B1A4B1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#001B4A
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0b1a4b;
/* rgb */ color: rgb(11, 26, 75);
/* oklch */ color: oklch(24.2% 0.093 266.3);
Tailwind
colors: {
  custom: {
    50: '#56567e',
    500: '#0b1a4b',
    950: '#000000',
  },
}
SCSS
$custom: #0b1a4b;
$custom-light: #56567e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1a4b",
  "rgb": {
    "r": 11,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 225.938,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24167,
    "c": 0.09313,
    "h": 266.3
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#0B1A4B
secondary
#87722B
accent
#C537F1
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0B1A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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