#0B1F56#0B1F56

#0B1F56 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.103 H 264.8°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#0B1F56
RGBrgb(11, 31, 86)
HSLhsl(224, 77%, 19%)
HSVhsv(224, 87%, 34%)
CMYKcmyk(87.2%, 64%, 0%, 66.3%)
CIE-LABlab(13.96, 15.64, -35.51)
CIE-LCHlch(13.96, 38.80, 293.77°)
OKLaboklab(26.4% -0.0093 -0.1026)
OKLCHoklch(26.4% 0.103 264.8)
XYZxyz(2.3071, 1.7227, 9.0132)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1F56 #56420B
analogous
#0B4556 #0B1F56 #1D0B56
triadic
#0B1F56 #560B1F #1F560B
tetradic
#0B1F56 #560B45 #56420B #0B561D
square
#0B1F56 #560B45 #56420B #0B561D
split-complementary
#0B1F56 #561D0B #45560B
monochromatic
#030A1B #040B20 #0B1F56 #12338C #1946C3

Accessibility & contrast

On white

15.62
#0B1F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0B1F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1F56
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1F56#FFFFFF#000000##FFFFFF
##0B1F561.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0b1f56;
/* rgb */ color: rgb(11, 31, 86);
/* oklch */ color: oklch(26.4% 0.103 264.8);
Tailwind
colors: {
  custom: {
    50: '#595a86',
    500: '#0b1f56',
    950: '#000000',
  },
}
SCSS
$custom: #0b1f56;
$custom-light: #595a86;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1f56",
  "rgb": {
    "r": 11,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 224,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26404,
    "c": 0.10307,
    "h": 264.8
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#0B1F56
secondary
#91762B
accent
#C134F4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0B1F56

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

Preview Lab → · Contrast checker → · Palette generator →

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