#0B2251#0B2251

#0B2251 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.091 H 262.4°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#0B2251
RGBrgb(11, 34, 81)
HSLhsl(220, 76%, 18%)
HSVhsv(220, 86%, 32%)
CMYKcmyk(86.4%, 58%, 0%, 68.2%)
CIE-LABlab(14.45, 11.12, -31.32)
CIE-LCHlch(14.45, 33.24, 289.55°)
OKLaboklab(26.64% -0.012 -0.0903)
OKLCHoklch(26.64% 0.091 262.4)
XYZxyz(2.1947, 1.8090, 8.0165)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2251 #513A0B
analogous
#0B4551 #0B2251 #170B51
triadic
#0B2251 #510B22 #22510B
tetradic
#0B2251 #510B45 #513A0B #0B5117
square
#0B2251 #510B45 #513A0B #0B5117
split-complementary
#0B2251 #51170B #45510B
monochromatic
#040B1B #040B1B #0B2251 #123987 #1A4FBD

Accessibility & contrast

On white

15.42
#0B2251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0B2251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2251
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2251#FFFFFF#000000##FFFFFF
##0B22511.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022853
Deuteranopia (green-blind)
#002150
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0b2251;
/* rgb */ color: rgb(11, 34, 81);
/* oklch */ color: oklch(26.6% 0.091 262.4);
Tailwind
colors: {
  custom: {
    50: '#575c82',
    500: '#0b2251',
    950: '#000000',
  },
}
SCSS
$custom: #0b2251;
$custom-light: #575c82;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2251",
  "rgb": {
    "r": 11,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 220.286,
    "s": 76.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26636,
    "c": 0.09108,
    "h": 262.4
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#0B2251
secondary
#8D6D2B
accent
#B435F3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0B2251

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

Preview Lab → · Contrast checker → · Palette generator →

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