#0B1C56#0B1C56

#0B1C56 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.107 H 266.1°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#0B1C56
RGBrgb(11, 28, 86)
HSLhsl(226, 77%, 19%)
HSVhsv(226, 87%, 34%)
CMYKcmyk(87.2%, 67.4%, 0%, 66.3%)
CIE-LABlab(13.07, 17.90, -36.97)
CIE-LCHlch(13.07, 41.08, 295.84°)
OKLaboklab(25.74% -0.0073 -0.107)
OKLCHoklch(25.74% 0.107 266.1)
XYZxyz(2.2324, 1.5733, 8.9883)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1C56 #56450B
analogous
#0B4256 #0B1C56 #200B56
triadic
#0B1C56 #560B1C #1C560B
tetradic
#0B1C56 #560B42 #56450B #0B5620
square
#0B1C56 #560B42 #56450B #0B5620
split-complementary
#0B1C56 #56200B #42560B
monochromatic
#03091B #040A20 #0B1C56 #122E8C #193FC3

Accessibility & contrast

On white

15.97
#0B1C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0B1C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1C56
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1C56#FFFFFF#000000##FFFFFF
##0B1C561.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b1c56;
/* rgb */ color: rgb(11, 28, 86);
/* oklch */ color: oklch(25.7% 0.107 266.1);
Tailwind
colors: {
  custom: {
    50: '#595786',
    500: '#0b1c56',
    950: '#000000',
  },
}
SCSS
$custom: #0b1c56;
$custom-light: #595786;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1c56",
  "rgb": {
    "r": 11,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 226.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25739,
    "c": 0.10722,
    "h": 266.1
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#0B1C56
secondary
#917A2B
accent
#C834F4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0B1C56

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

Preview Lab → · Contrast checker → · Palette generator →

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