#0B2240#0B2240

#0B2240 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.2% C 0.064 H 256.2°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#0B2240
RGBrgb(11, 34, 64)
HSLhsl(214, 71%, 15%)
HSVhsv(214, 83%, 25%)
CMYKcmyk(82.8%, 46.9%, 0%, 74.9%)
CIE-LABlab(13.14, 3.47, -21.71)
CIE-LCHlch(13.14, 21.98, 279.09°)
OKLaboklab(25.21% -0.0152 -0.062)
OKLCHoklch(25.21% 0.064 256.2)
XYZxyz(1.6351, 1.5852, 5.0693)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2240 #40290B
analogous
#0B3D40 #0B2240 #0E0B40
triadic
#0B2240 #400B22 #22400B
tetradic
#0B2240 #400B3D #40290B #0B400E
square
#0B2240 #400B3D #40290B #0B400E
split-complementary
#0B2240 #400E0B #3D400B
monochromatic
#040E1A #040E1A #0B2240 #143E74 #1D59A8

Accessibility & contrast

On white

15.95
#0B2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B2240
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2240#FFFFFF#000000##FFFFFF
##0B22401.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142441
Deuteranopia (green-blind)
#0B203F
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b2240;
/* rgb */ color: rgb(11, 34, 64);
/* oklch */ color: oklch(25.2% 0.064 256.2);
Tailwind
colors: {
  custom: {
    50: '#525c75',
    500: '#0b2240',
    950: '#000000',
  },
}
SCSS
$custom: #0b2240;
$custom-light: #525c75;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2240",
  "rgb": {
    "r": 11,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 213.962,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25209,
    "c": 0.06384,
    "h": 256.2
  },
  "luminance": 0.01585
}

Semantic roles & 50–950 ramp

primary
#0B2240
secondary
#7D592A
accent
#A03AED
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0B2240

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

Preview Lab → · Contrast checker → · Palette generator →

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