#0A2140#0A2140

#0A2140 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.9% C 0.066 H 256.8°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#0A2140
RGBrgb(10, 33, 64)
HSLhsl(214, 73%, 15%)
HSVhsv(214, 84%, 25%)
CMYKcmyk(84.4%, 48.4%, 0%, 74.9%)
CIE-LABlab(12.75, 4.07, -22.34)
CIE-LCHlch(12.75, 22.70, 280.33°)
OKLaboklab(24.89% -0.0149 -0.0639)
OKLCHoklch(24.89% 0.066 256.8)
XYZxyz(1.5941, 1.5222, 5.0593)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2140 #40290A
analogous
#0A3C40 #0A2140 #0E0A40
triadic
#0A2140 #400A21 #21400A
tetradic
#0A2140 #400A3C #40290A #0A400E
square
#0A2140 #400A3C #40290A #0A400E
split-complementary
#0A2140 #400E0A #3C400A
monochromatic
#040E1A #040E1A #0A2140 #123C75 #1B58AA

Accessibility & contrast

On white

16.10
#0A2140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A2140
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2140#FFFFFF#000000##FFFFFF
##0A21401.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122441
Deuteranopia (green-blind)
#081F3F
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0a2140;
/* rgb */ color: rgb(10, 33, 64);
/* oklch */ color: oklch(24.9% 0.066 256.8);
Tailwind
colors: {
  custom: {
    50: '#525b75',
    500: '#0a2140',
    950: '#000000',
  },
}
SCSS
$custom: #0a2140;
$custom-light: #525b75;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2140",
  "rgb": {
    "r": 10,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 214.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24894,
    "c": 0.0656,
    "h": 256.8
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#0A2140
secondary
#7D5929
accent
#A138F0
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0A2140

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

Preview Lab → · Contrast checker → · Palette generator →

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