#0B1741#0B1741

#0B1741 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.5% C 0.082 H 267.3°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#0B1741
RGBrgb(11, 23, 65)
HSLhsl(227, 71%, 15%)
HSVhsv(227, 83%, 25%)
CMYKcmyk(83.1%, 64.6%, 0%, 74.5%)
CIE-LABlab(9.52, 12.49, -28.24)
CIE-LCHlch(9.52, 30.88, 293.86°)
OKLaboklab(22.47% -0.0038 -0.0814)
OKLCHoklch(22.47% 0.082 267.3)
XYZxyz(1.3982, 1.0654, 5.1320)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1741 #41350B
analogous
#0B3241 #0B1741 #1A0B41
triadic
#0B1741 #410B17 #17410B
tetradic
#0B1741 #410B32 #41350B #0B411A
square
#0B1741 #410B32 #41350B #0B411A
split-complementary
#0B1741 #411A0B #32410B
monochromatic
#04091A #04091A #0B1741 #142A75 #1D3CAA

Accessibility & contrast

On white

17.31
#0B1741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0B1741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1741
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1741#FFFFFF#000000##FFFFFF
##0B17411.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#002129
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0b1741;
/* rgb */ color: rgb(11, 23, 65);
/* oklch */ color: oklch(22.5% 0.082 267.3);
Tailwind
colors: {
  custom: {
    50: '#535376',
    500: '#0b1741',
    950: '#000000',
  },
}
SCSS
$custom: #0b1741;
$custom-light: #535376;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1741",
  "rgb": {
    "r": 11,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 226.667,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22472,
    "c": 0.08152,
    "h": 267.3
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#0B1741
secondary
#7E6B2A
accent
#C63AEE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B1741

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

Preview Lab → · Contrast checker → · Palette generator →

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