#0A2242#0A2242

#0A2242 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.3% C 0.067 H 256.7°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#0A2242
RGBrgb(10, 34, 66)
HSLhsl(214, 74%, 15%)
HSVhsv(214, 85%, 26%)
CMYKcmyk(84.8%, 48.5%, 0%, 74.1%)
CIE-LABlab(13.24, 4.21, -22.95)
CIE-LCHlch(13.24, 23.33, 280.40°)
OKLaboklab(25.32% -0.0155 -0.0657)
OKLCHoklch(25.32% 0.067 256.7)
XYZxyz(1.6802, 1.6017, 5.3738)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2242 #422A0A
analogous
#0A3E42 #0A2242 #0E0A42
triadic
#0A2242 #420A22 #22420A
tetradic
#0A2242 #420A3E #422A0A #0A420E
square
#0A2242 #420A3E #422A0A #0A420E
split-complementary
#0A2242 #420E0A #3E420A
monochromatic
#040E1B #040E1B #0A2242 #123D77 #1A59AC

Accessibility & contrast

On white

15.90
#0A2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A2242
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2242#FFFFFF#000000##FFFFFF
##0A22421.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122543
Deuteranopia (green-blind)
#082041
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0a2242;
/* rgb */ color: rgb(10, 34, 66);
/* oklch */ color: oklch(25.3% 0.067 256.7);
Tailwind
colors: {
  custom: {
    50: '#535c76',
    500: '#0a2242',
    950: '#000000',
  },
}
SCSS
$custom: #0a2242;
$custom-light: #535c76;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2242",
  "rgb": {
    "r": 10,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 214.286,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25322,
    "c": 0.06746,
    "h": 256.7
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#0A2242
secondary
#7F5A29
accent
#A137F0
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0A2242

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

Preview Lab → · Contrast checker → · Palette generator →

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