#0B2242#0B2242

#0B2242 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.4% C 0.067 H 257.3°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#0B2242
RGBrgb(11, 34, 66)
HSLhsl(215, 71%, 15%)
HSVhsv(215, 83%, 26%)
CMYKcmyk(83.3%, 48.5%, 0%, 74.1%)
CIE-LABlab(13.28, 4.37, -22.88)
CIE-LCHlch(13.28, 23.29, 280.81°)
OKLaboklab(25.36% -0.0147 -0.0654)
OKLCHoklch(25.36% 0.067 257.3)
XYZxyz(1.6930, 1.6084, 5.3744)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2242 #422B0B
analogous
#0B3E42 #0B2242 #0F0B42
triadic
#0B2242 #420B22 #22420B
tetradic
#0B2242 #420B3E #422B0B #0B420F
square
#0B2242 #420B3E #422B0B #0B420F
split-complementary
#0B2242 #420F0B #3E420B
monochromatic
#040E1A #040E1A #0B2242 #143D76 #1C58AB

Accessibility & contrast

On white

15.89
#0B2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0B2242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2242
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2242#FFFFFF#000000##FFFFFF
##0B22421.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122543
Deuteranopia (green-blind)
#082041
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b2242;
/* rgb */ color: rgb(11, 34, 66);
/* oklch */ color: oklch(25.4% 0.067 257.3);
Tailwind
colors: {
  custom: {
    50: '#535c76',
    500: '#0b2242',
    950: '#000000',
  },
}
SCSS
$custom: #0b2242;
$custom-light: #535c76;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2242",
  "rgb": {
    "r": 11,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 214.909,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25364,
    "c": 0.06708,
    "h": 257.3
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#0B2242
secondary
#7F5B2A
accent
#A33AEE
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0B2242

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

Preview Lab → · Contrast checker → · Palette generator →

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