#0A213E#0A213E

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

Color values

HEX#0A213E
RGBrgb(10, 33, 62)
HSLhsl(213, 72%, 14%)
HSVhsv(213, 84%, 24%)
CMYKcmyk(83.9%, 46.8%, 0%, 75.7%)
CIE-LABlab(12.61, 3.16, -21.16)
CIE-LCHlch(12.61, 21.39, 278.51°)
OKLaboklab(24.74% -0.0154 -0.0604)
OKLCHoklch(24.74% 0.062 255.7)
XYZxyz(1.5382, 1.4999, 4.7649)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A213E #3E270A
analogous
#0A3B3E #0A213E #0D0A3E
triadic
#0A213E #3E0A21 #213E0A
tetradic
#0A213E #3E0A3B #3E270A #0A3E0D
square
#0A213E #3E0A3B #3E270A #0A3E0D
split-complementary
#0A213E #3E0D0A #3B3E0A
monochromatic
#040E1A #040E1A #0A213E #133D73 #1B59A7

Accessibility & contrast

On white

16.15
#0A213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A213E
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A213E#FFFFFF#000000##FFFFFF
##0A213E1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233F
Deuteranopia (green-blind)
#0B1F3D
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0a213e;
/* rgb */ color: rgb(10, 33, 62);
/* oklch */ color: oklch(24.7% 0.062 255.7);
Tailwind
colors: {
  custom: {
    50: '#525b73',
    500: '#0a213e',
    950: '#000000',
  },
}
SCSS
$custom: #0a213e;
$custom-light: #525b73;
$custom-dark: #000000;
JSON
{
  "hex": "#0a213e",
  "rgb": {
    "r": 10,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 213.462,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24738,
    "c": 0.06236,
    "h": 255.7
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#0A213E
secondary
#7B5728
accent
#9E39EF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #0A213E

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

Preview Lab → · Contrast checker → · Palette generator →

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