#0B2148#0B2148

#0B2148 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.078 H 260.9°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#0B2148
RGBrgb(11, 33, 72)
HSLhsl(218, 73%, 16%)
HSVhsv(218, 85%, 28%)
CMYKcmyk(84.7%, 54.2%, 0%, 71.8%)
CIE-LABlab(13.39, 7.84, -26.87)
CIE-LCHlch(13.39, 27.99, 286.27°)
OKLaboklab(25.59% -0.0124 -0.0772)
OKLCHoklch(25.59% 0.078 260.9)
XYZxyz(1.8511, 1.6265, 6.3460)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2148 #48320B
analogous
#0B4048 #0B2148 #140B48
triadic
#0B2148 #480B21 #21480B
tetradic
#0B2148 #480B40 #48320B #0B4814
square
#0B2148 #480B40 #48320B #0B4814
split-complementary
#0B2148 #48140B #40480B
monochromatic
#040C1B #040C1B #0B2148 #13397D #1B52B2

Accessibility & contrast

On white

15.84
#0B2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0B2148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2148
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2148#FFFFFF#000000##FFFFFF
##0B21481.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2549
Deuteranopia (green-blind)
#002047
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b2148;
/* rgb */ color: rgb(11, 33, 72);
/* oklch */ color: oklch(25.6% 0.078 260.9);
Tailwind
colors: {
  custom: {
    50: '#555b7b',
    500: '#0b2148',
    950: '#000000',
  },
}
SCSS
$custom: #0b2148;
$custom-light: #555b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2148",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 218.361,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25594,
    "c": 0.07819,
    "h": 260.9
  },
  "luminance": 0.01627
}

Semantic roles & 50–950 ramp

primary
#0B2148
secondary
#84642A
accent
#AE38F0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0B2148

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

Preview Lab → · Contrast checker → · Palette generator →

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