#0B1F49#0B1F49

#0B1F49 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.083 H 262.8°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#0B1F49
RGBrgb(11, 31, 73)
HSLhsl(221, 74%, 16%)
HSVhsv(221, 85%, 29%)
CMYKcmyk(84.9%, 57.5%, 0%, 71.4%)
CIE-LABlab(12.81, 9.83, -28.50)
CIE-LCHlch(12.81, 30.15, 289.04°)
OKLaboklab(25.17% -0.0104 -0.082)
OKLCHoklch(25.17% 0.083 262.8)
XYZxyz(1.8302, 1.5320, 6.5013)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1F49 #49350B
analogous
#0B3E49 #0B1F49 #160B49
triadic
#0B1F49 #490B1F #1F490B
tetradic
#0B1F49 #490B3E #49350B #0B4916
square
#0B1F49 #490B3E #49350B #0B4916
split-complementary
#0B1F49 #49160B #3E490B
monochromatic
#040B1B #040B1B #0B1F49 #13367E #1B4CB3

Accessibility & contrast

On white

16.07
#0B1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1F49
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1F49#FFFFFF#000000##FFFFFF
##0B1F491.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04244B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0b1f49;
/* rgb */ color: rgb(11, 31, 73);
/* oklch */ color: oklch(25.2% 0.083 262.8);
Tailwind
colors: {
  custom: {
    50: '#555a7c',
    500: '#0b1f49',
    950: '#000000',
  },
}
SCSS
$custom: #0b1f49;
$custom-light: #555a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1f49",
  "rgb": {
    "r": 11,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 220.645,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25175,
    "c": 0.0827,
    "h": 262.8
  },
  "luminance": 0.01532
}

Semantic roles & 50–950 ramp

primary
#0B1F49
secondary
#85682A
accent
#B537F0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0B1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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