#0A2240#0A2240

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

Color values

HEX#0A2240
RGBrgb(10, 34, 64)
HSLhsl(213, 73%, 15%)
HSVhsv(213, 84%, 25%)
CMYKcmyk(84.4%, 46.9%, 0%, 74.9%)
CIE-LABlab(13.10, 3.31, -21.78)
CIE-LCHlch(13.10, 22.03, 278.64°)
OKLaboklab(25.17% -0.016 -0.0622)
OKLCHoklch(25.17% 0.064 255.6)
XYZxyz(1.6223, 1.5786, 5.0687)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2240 #40280A
analogous
#0A3D40 #0A2240 #0D0A40
triadic
#0A2240 #400A22 #22400A
tetradic
#0A2240 #400A3D #40280A #0A400D
square
#0A2240 #400A3D #40280A #0A400D
split-complementary
#0A2240 #400D0A #3D400A
monochromatic
#040E1A #040E1A #0A2240 #123E75 #1B5AAA

Accessibility & contrast

On white

15.96
#0A2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A2240
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2240#FFFFFF#000000##FFFFFF
##0A22401.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a2240;
/* rgb */ color: rgb(10, 34, 64);
/* oklch */ color: oklch(25.2% 0.064 255.6);
Tailwind
colors: {
  custom: {
    50: '#525c75',
    500: '#0a2240',
    950: '#000000',
  },
}
SCSS
$custom: #0a2240;
$custom-light: #525c75;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2240",
  "rgb": {
    "r": 10,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 213.333,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25166,
    "c": 0.06425,
    "h": 255.6
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#0A2240
secondary
#7D5829
accent
#9E38F0
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0A2240

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

Preview Lab → · Contrast checker → · Palette generator →

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