#0B2145#0B2145

#0B2145 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.3% C 0.073 H 259.8°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#0B2145
RGBrgb(11, 33, 69)
HSLhsl(217, 73%, 16%)
HSVhsv(217, 84%, 27%)
CMYKcmyk(84.1%, 52.2%, 0%, 72.9%)
CIE-LABlab(13.16, 6.49, -25.16)
CIE-LCHlch(13.16, 25.99, 284.46°)
OKLaboklab(25.34% -0.013 -0.0722)
OKLCHoklch(25.34% 0.073 259.8)
XYZxyz(1.7557, 1.5883, 5.8431)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2145 #452F0B
analogous
#0B3E45 #0B2145 #120B45
triadic
#0B2145 #450B21 #21450B
tetradic
#0B2145 #450B3E #452F0B #0B4512
square
#0B2145 #450B3E #452F0B #0B4512
split-complementary
#0B2145 #45120B #3E450B
monochromatic
#040D1A #040D1A #0B2145 #133A7A #1C53AF

Accessibility & contrast

On white

15.94
#0B2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0B2145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2145
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2145#FFFFFF#000000##FFFFFF
##0B21451.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2546
Deuteranopia (green-blind)
#021F44
Tritanopia (blue-blind)
#002A2F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b2145;
/* rgb */ color: rgb(11, 33, 69);
/* oklch */ color: oklch(25.3% 0.073 259.8);
Tailwind
colors: {
  custom: {
    50: '#545b79',
    500: '#0b2145',
    950: '#000000',
  },
}
SCSS
$custom: #0b2145;
$custom-light: #545b79;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2145",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 217.241,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25341,
    "c": 0.07334,
    "h": 259.8
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#0B2145
secondary
#81602A
accent
#AA39EF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0B2145

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

Preview Lab → · Contrast checker → · Palette generator →

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