#0B2045#0B2045

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

Color values

HEX#0B2045
RGBrgb(11, 32, 69)
HSLhsl(218, 73%, 16%)
HSVhsv(218, 84%, 27%)
CMYKcmyk(84.1%, 53.6%, 0%, 72.9%)
CIE-LABlab(12.82, 7.26, -25.71)
CIE-LCHlch(12.82, 26.71, 285.76°)
OKLaboklab(25.08% -0.012 -0.0738)
OKLCHoklch(25.08% 0.075 260.8)
XYZxyz(1.7283, 1.5336, 5.8340)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2045 #45300B
analogous
#0B3D45 #0B2045 #130B45
triadic
#0B2045 #450B20 #20450B
tetradic
#0B2045 #450B3D #45300B #0B4513
square
#0B2045 #450B3D #45300B #0B4513
split-complementary
#0B2045 #45130B #3D450B
monochromatic
#040C1A #040C1A #0B2045 #13387A #1C51AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B2045#FFFFFF#000000##FFFFFF
##0B20451.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)
#0C2446
Deuteranopia (green-blind)
#001F44
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0b2045;
/* rgb */ color: rgb(11, 32, 69);
/* oklch */ color: oklch(25.1% 0.075 260.8);
Tailwind
colors: {
  custom: {
    50: '#545a79',
    500: '#0b2045',
    950: '#000000',
  },
}
SCSS
$custom: #0b2045;
$custom-light: #545a79;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2045",
  "rgb": {
    "r": 11,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 218.276,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25081,
    "c": 0.07478,
    "h": 260.8
  },
  "luminance": 0.01534
}

Semantic roles & 50–950 ramp

primary
#0B2045
secondary
#81622A
accent
#AD39EF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0B2045

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

Preview Lab → · Contrast checker → · Palette generator →

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