#0B2247#0B2247

#0B2247 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.075 H 259.6°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#0B2247
RGBrgb(11, 34, 71)
HSLhsl(217, 73%, 16%)
HSVhsv(217, 85%, 28%)
CMYKcmyk(84.5%, 52.1%, 0%, 72.2%)
CIE-LABlab(13.65, 6.62, -25.76)
CIE-LCHlch(13.65, 26.60, 284.42°)
OKLaboklab(25.77% -0.0136 -0.0739)
OKLCHoklch(25.77% 0.075 259.6)
XYZxyz(1.8470, 1.6699, 6.1850)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2247 #47300B
analogous
#0B4047 #0B2247 #120B47
triadic
#0B2247 #470B22 #22470B
tetradic
#0B2247 #470B40 #47300B #0B4712
square
#0B2247 #470B40 #47300B #0B4712
split-complementary
#0B2247 #47120B #40470B
monochromatic
#040D1A #040D1A #0B2247 #133B7C #1B55B1

Accessibility & contrast

On white

15.74
#0B2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B2247
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2247#FFFFFF#000000##FFFFFF
##0B22471.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b2247;
/* rgb */ color: rgb(11, 34, 71);
/* oklch */ color: oklch(25.8% 0.075 259.6);
Tailwind
colors: {
  custom: {
    50: '#545c7a',
    500: '#0b2247',
    950: '#000000',
  },
}
SCSS
$custom: #0b2247;
$custom-light: #545c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2247",
  "rgb": {
    "r": 11,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 217,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25768,
    "c": 0.07516,
    "h": 259.6
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#0B2247
secondary
#83612A
accent
#A938F0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0B2247

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

Preview Lab → · Contrast checker → · Palette generator →

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