#0B1F48#0B1F48

#0B1F48 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.081 H 262.5°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#0B1F48
RGBrgb(11, 31, 72)
HSLhsl(220, 73%, 16%)
HSVhsv(220, 85%, 28%)
CMYKcmyk(84.7%, 56.9%, 0%, 71.8%)
CIE-LABlab(12.73, 9.38, -27.94)
CIE-LCHlch(12.73, 29.47, 288.57°)
OKLaboklab(25.09% -0.0105 -0.0804)
OKLCHoklch(25.09% 0.081 262.5)
XYZxyz(1.7973, 1.5188, 6.3281)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1F48 #48340B
analogous
#0B3E48 #0B1F48 #160B48
triadic
#0B1F48 #480B1F #1F480B
tetradic
#0B1F48 #480B3E #48340B #0B4816
square
#0B1F48 #480B3E #48340B #0B4816
split-complementary
#0B1F48 #48160B #3E480B
monochromatic
#040B1B #040B1B #0B1F48 #13367D #1B4DB2

Accessibility & contrast

On white

16.11
#0B1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1F48
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1F48#FFFFFF#000000##FFFFFF
##0B1F481.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052449
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0b1f48;
/* rgb */ color: rgb(11, 31, 72);
/* oklch */ color: oklch(25.1% 0.081 262.5);
Tailwind
colors: {
  custom: {
    50: '#555a7b',
    500: '#0b1f48',
    950: '#000000',
  },
}
SCSS
$custom: #0b1f48;
$custom-light: #555a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1f48",
  "rgb": {
    "r": 11,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 220.328,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25086,
    "c": 0.08109,
    "h": 262.5
  },
  "luminance": 0.01519
}

Semantic roles & 50–950 ramp

primary
#0B1F48
secondary
#84672A
accent
#B438F0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0B1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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