#0A213D#0A213D

#0A213D is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.7% C 0.061 H 255.0°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#0A213D
RGBrgb(10, 33, 61)
HSLhsl(213, 72%, 14%)
HSVhsv(213, 84%, 24%)
CMYKcmyk(83.6%, 45.9%, 0%, 76.1%)
CIE-LABlab(12.54, 2.71, -20.56)
CIE-LCHlch(12.54, 20.74, 277.52°)
OKLaboklab(24.66% -0.0157 -0.0587)
OKLCHoklch(24.66% 0.061 255)
XYZxyz(1.5110, 1.4890, 4.6217)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A213D #3D260A
analogous
#0A3B3D #0A213D #0D0A3D
triadic
#0A213D #3D0A21 #213D0A
tetradic
#0A213D #3D0A3B #3D260A #0A3D0D
square
#0A213D #3D0A3B #3D260A #0A3D0D
split-complementary
#0A213D #3D0D0A #3B3D0A
monochromatic
#040E1A #040E1A #0A213D #133D72 #1B5AA6

Accessibility & contrast

On white

16.18
#0A213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0A213D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A213D
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A213D#FFFFFF#000000##FFFFFF
##0A213D1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14233E
Deuteranopia (green-blind)
#0C1E3C
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0a213d;
/* rgb */ color: rgb(10, 33, 61);
/* oklch */ color: oklch(24.7% 0.061 255.0);
Tailwind
colors: {
  custom: {
    50: '#515b72',
    500: '#0a213d',
    950: '#000000',
  },
}
SCSS
$custom: #0a213d;
$custom-light: #515b72;
$custom-dark: #000000;
JSON
{
  "hex": "#0a213d",
  "rgb": {
    "r": 10,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 212.941,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24662,
    "c": 0.06075,
    "h": 255
  },
  "luminance": 0.01489
}

Semantic roles & 50–950 ramp

primary
#0A213D
secondary
#7A5528
accent
#9D39EF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020408
muted
#78797B

Preview Lab

Preview with #0A213D

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

Preview Lab → · Contrast checker → · Palette generator →

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