#0B2150#0B2150

#0B2150 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.091 H 262.9°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#0B2150
RGBrgb(11, 33, 80)
HSLhsl(221, 76%, 18%)
HSVhsv(221, 86%, 31%)
CMYKcmyk(86.3%, 58.8%, 0%, 68.6%)
CIE-LABlab(14.05, 11.44, -31.30)
CIE-LCHlch(14.05, 33.32, 290.08°)
OKLaboklab(26.3% -0.0113 -0.0902)
OKLCHoklch(26.3% 0.091 262.9)
XYZxyz(2.1293, 1.7378, 7.8111)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2150 #503A0B
analogous
#0B4350 #0B2150 #180B50
triadic
#0B2150 #500B21 #21500B
tetradic
#0B2150 #500B43 #503A0B #0B5018
square
#0B2150 #500B43 #503A0B #0B5018
split-complementary
#0B2150 #50180B #43500B
monochromatic
#040B1B #040B1B #0B2150 #123786 #1A4DBC

Accessibility & contrast

On white

15.58
#0B2150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0B2150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2150
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2150#FFFFFF#000000##FFFFFF
##0B21501.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002752
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0b2150;
/* rgb */ color: rgb(11, 33, 80);
/* oklch */ color: oklch(26.3% 0.091 262.9);
Tailwind
colors: {
  custom: {
    50: '#575b81',
    500: '#0b2150',
    950: '#000000',
  },
}
SCSS
$custom: #0b2150;
$custom-light: #575b81;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2150",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 80
  },
  "hsl": {
    "h": 220.87,
    "s": 75.824,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26302,
    "c": 0.09093,
    "h": 262.9
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#0B2150
secondary
#8C6D2B
accent
#B635F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0B2150

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

Preview Lab → · Contrast checker → · Palette generator →

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