#0B2248#0B2248

#0B2248 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.077 H 259.9°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#0B2248
RGBrgb(11, 34, 72)
HSLhsl(217, 73%, 16%)
HSVhsv(217, 85%, 28%)
CMYKcmyk(84.7%, 52.8%, 0%, 71.8%)
CIE-LABlab(13.73, 7.07, -26.33)
CIE-LCHlch(13.73, 27.26, 285.04°)
OKLaboklab(25.85% -0.0134 -0.0756)
OKLCHoklch(25.85% 0.077 259.9)
XYZxyz(1.8793, 1.6829, 6.3554)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2248 #48310B
analogous
#0B4148 #0B2248 #130B48
triadic
#0B2248 #480B22 #22480B
tetradic
#0B2248 #480B41 #48310B #0B4813
square
#0B2248 #480B41 #48310B #0B4813
split-complementary
#0B2248 #48130B #41480B
monochromatic
#040D1B #040D1B #0B2248 #133B7D #1B54B2

Accessibility & contrast

On white

15.71
#0B2248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0B2248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2248
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2248#FFFFFF#000000##FFFFFF
##0B22481.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2649
Deuteranopia (green-blind)
#012047
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0b2248;
/* rgb */ color: rgb(11, 34, 72);
/* oklch */ color: oklch(25.9% 0.077 259.9);
Tailwind
colors: {
  custom: {
    50: '#555c7b',
    500: '#0b2248',
    950: '#000000',
  },
}
SCSS
$custom: #0b2248;
$custom-light: #555c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2248",
  "rgb": {
    "r": 11,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 217.377,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25851,
    "c": 0.07677,
    "h": 259.9
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#0B2248
secondary
#84622A
accent
#AB38F0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0B2248

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

Preview Lab → · Contrast checker → · Palette generator →

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