#0B1740#0B1740

#0B1740 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.080 H 267.2°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#0B1740
RGBrgb(11, 23, 64)
HSLhsl(226, 71%, 15%)
HSVhsv(226, 83%, 25%)
CMYKcmyk(82.8%, 64.1%, 0%, 74.9%)
CIE-LABlab(9.43, 12.04, -27.68)
CIE-LCHlch(9.43, 30.18, 293.51°)
OKLaboklab(22.37% -0.0039 -0.0798)
OKLCHoklch(22.37% 0.08 267.2)
XYZxyz(1.3695, 1.0540, 4.9808)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1740 #40340B
analogous
#0B3240 #0B1740 #1A0B40
triadic
#0B1740 #400B17 #17400B
tetradic
#0B1740 #400B32 #40340B #0B401A
square
#0B1740 #400B32 #40340B #0B401A
split-complementary
#0B1740 #401A0B #32400B
monochromatic
#04091A #04091A #0B1740 #142A74 #1D3DA8

Accessibility & contrast

On white

17.34
#0B1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1740
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1740#FFFFFF#000000##FFFFFF
##0B17401.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b1740;
/* rgb */ color: rgb(11, 23, 64);
/* oklch */ color: oklch(22.4% 0.080 267.2);
Tailwind
colors: {
  custom: {
    50: '#535375',
    500: '#0b1740',
    950: '#000000',
  },
}
SCSS
$custom: #0b1740;
$custom-light: #535375;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1740",
  "rgb": {
    "r": 11,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 226.415,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22374,
    "c": 0.07988,
    "h": 267.2
  },
  "luminance": 0.01054
}

Semantic roles & 50–950 ramp

primary
#0B1740
secondary
#7D6A2A
accent
#C53AED
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B1740

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

Preview Lab → · Contrast checker → · Palette generator →

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