#0B2146#0B2146

#0B2146 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.075 H 260.2°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#0B2146
RGBrgb(11, 33, 70)
HSLhsl(218, 73%, 16%)
HSVhsv(218, 84%, 27%)
CMYKcmyk(84.3%, 52.9%, 0%, 72.5%)
CIE-LABlab(13.24, 6.94, -25.73)
CIE-LCHlch(13.24, 26.65, 285.09°)
OKLaboklab(25.42% -0.0128 -0.0739)
OKLCHoklch(25.42% 0.075 260.2)
XYZxyz(1.7870, 1.6009, 6.0080)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2146 #46300B
analogous
#0B3E46 #0B2146 #120B46
triadic
#0B2146 #460B21 #21460B
tetradic
#0B2146 #460B3E #46300B #0B4612
square
#0B2146 #460B3E #46300B #0B4612
split-complementary
#0B2146 #46120B #3E460B
monochromatic
#040C1A #040C1A #0B2146 #133A7B #1C53B0

Accessibility & contrast

On white

15.91
#0B2146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B2146
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2146#FFFFFF#000000##FFFFFF
##0B21461.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2547
Deuteranopia (green-blind)
#011F45
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b2146;
/* rgb */ color: rgb(11, 33, 70);
/* oklch */ color: oklch(25.4% 0.075 260.2);
Tailwind
colors: {
  custom: {
    50: '#545b7a',
    500: '#0b2146',
    950: '#000000',
  },
}
SCSS
$custom: #0b2146;
$custom-light: #545b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2146",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 217.627,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25424,
    "c": 0.07496,
    "h": 260.2
  },
  "luminance": 0.01601
}

Semantic roles & 50–950 ramp

primary
#0B2146
secondary
#82622A
accent
#AB38F0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0B2146

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

Preview Lab → · Contrast checker → · Palette generator →

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