#0B1F45#0B1F45

#0B1F45 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.8% C 0.076 H 261.7°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#0B1F45
RGBrgb(11, 31, 69)
HSLhsl(219, 73%, 16%)
HSVhsv(219, 84%, 27%)
CMYKcmyk(84.1%, 55.1%, 0%, 72.9%)
CIE-LABlab(12.48, 8.03, -26.25)
CIE-LCHlch(12.48, 27.45, 287.01°)
OKLaboklab(24.82% -0.011 -0.0754)
OKLCHoklch(24.82% 0.076 261.7)
XYZxyz(1.7018, 1.4806, 5.8252)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1F45 #45310B
analogous
#0B3C45 #0B1F45 #140B45
triadic
#0B1F45 #450B1F #1F450B
tetradic
#0B1F45 #450B3C #45310B #0B4514
square
#0B1F45 #450B3C #45310B #0B4514
split-complementary
#0B1F45 #45140B #3C450B
monochromatic
#040C1A #040C1A #0B1F45 #13377A #1C4EAF

Accessibility & contrast

On white

16.20
#0B1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0B1F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1F45
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1F45#FFFFFF#000000##FFFFFF
##0B1F451.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092346
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#00282E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0b1f45;
/* rgb */ color: rgb(11, 31, 69);
/* oklch */ color: oklch(24.8% 0.076 261.7);
Tailwind
colors: {
  custom: {
    50: '#545a79',
    500: '#0b1f45',
    950: '#000000',
  },
}
SCSS
$custom: #0b1f45;
$custom-light: #545a79;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1f45",
  "rgb": {
    "r": 11,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 219.31,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24823,
    "c": 0.07622,
    "h": 261.7
  },
  "luminance": 0.01481
}

Semantic roles & 50–950 ramp

primary
#0B1F45
secondary
#81632A
accent
#B039EF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0B1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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