#0B2340#0B2340

#0B2340 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.5% C 0.063 H 254.9°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#0B2340
RGBrgb(11, 35, 64)
HSLhsl(213, 71%, 15%)
HSVhsv(213, 83%, 25%)
CMYKcmyk(82.8%, 45.3%, 0%, 74.9%)
CIE-LABlab(13.49, 2.72, -21.15)
CIE-LCHlch(13.49, 21.32, 277.32°)
OKLaboklab(25.48% -0.0163 -0.0603)
OKLCHoklch(25.48% 0.063 254.9)
XYZxyz(1.6641, 1.6432, 5.0790)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2340 #40280B
analogous
#0B3E40 #0B2340 #0D0B40
triadic
#0B2340 #400B23 #23400B
tetradic
#0B2340 #400B3E #40280B #0B400D
square
#0B2340 #400B3E #40280B #0B400D
split-complementary
#0B2340 #400D0B #3E400B
monochromatic
#040E1A #040E1A #0B2340 #144074 #1D5CA8

Accessibility & contrast

On white

15.81
#0B2340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B2340
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2340#FFFFFF#000000##FFFFFF
##0B23401.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152541
Deuteranopia (green-blind)
#0D203F
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0b2340;
/* rgb */ color: rgb(11, 35, 64);
/* oklch */ color: oklch(25.5% 0.063 254.9);
Tailwind
colors: {
  custom: {
    50: '#525d75',
    500: '#0b2340',
    950: '#000000',
  },
}
SCSS
$custom: #0b2340;
$custom-light: #525d75;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2340",
  "rgb": {
    "r": 11,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 212.83,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25482,
    "c": 0.06251,
    "h": 254.9
  },
  "luminance": 0.01643
}

Semantic roles & 50–950 ramp

primary
#0B2340
secondary
#7D572A
accent
#9C3AED
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0B2340

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

Preview Lab → · Contrast checker → · Palette generator →

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