#0B1956#0B1956

#0B1956 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.111 H 267.2°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#0B1956
RGBrgb(11, 25, 86)
HSLhsl(229, 77%, 19%)
HSVhsv(229, 87%, 34%)
CMYKcmyk(87.2%, 70.9%, 0%, 66.3%)
CIE-LABlab(12.21, 20.14, -38.38)
CIE-LCHlch(12.21, 43.34, 297.69°)
OKLaboklab(25.11% -0.0054 -0.1111)
OKLCHoklch(25.11% 0.111 267.2)
XYZxyz(2.1648, 1.4380, 8.9658)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1956 #56480B
analogous
#0B3F56 #0B1956 #230B56
triadic
#0B1956 #560B19 #19560B
tetradic
#0B1956 #560B3F #56480B #0B5623
square
#0B1956 #560B3F #56480B #0B5623
split-complementary
#0B1956 #56230B #3F560B
monochromatic
#03081B #040920 #0B1956 #12298C #1939C3

Accessibility & contrast

On white

16.31
#0B1956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0B1956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1956
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1956#FFFFFF#000000##FFFFFF
##0B19561.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0b1956;
/* rgb */ color: rgb(11, 25, 86);
/* oklch */ color: oklch(25.1% 0.111 267.2);
Tailwind
colors: {
  custom: {
    50: '#5a5586',
    500: '#0b1956',
    950: '#000000',
  },
}
SCSS
$custom: #0b1956;
$custom-light: #5a5586;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1956",
  "rgb": {
    "r": 11,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 228.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25107,
    "c": 0.11125,
    "h": 267.2
  },
  "luminance": 0.01438
}

Semantic roles & 50–950 ramp

primary
#0B1956
secondary
#917E2B
accent
#D034F4
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0B1956

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

Preview Lab → · Contrast checker → · Palette generator →

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