#0A2A4A#0A2A4A

#0A2A4A is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.1% C 0.070 H 251.8°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#0A2A4A
RGBrgb(10, 42, 74)
HSLhsl(210, 76%, 16%)
HSVhsv(210, 86%, 29%)
CMYKcmyk(86.5%, 43.2%, 0%, 71%)
CIE-LABlab(16.58, 1.84, -23.14)
CIE-LCHlch(16.58, 23.22, 274.54°)
OKLaboklab(28.1% -0.0217 -0.0661)
OKLCHoklch(28.1% 0.07 251.8)
XYZxyz(2.1887, 2.2146, 6.7893)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2A4A #4A2A0A
analogous
#0A4A4A #0A2A4A #0A0A4A
triadic
#0A2A4A #4A0A2A #2A4A0A
tetradic
#0A2A4A #4A0A4A #4A2A0A #0A4A0A
square
#0A2A4A #4A0A4A #4A2A0A #0A4A0A
split-complementary
#0A2A4A #4A0A0A #4A4A0A
monochromatic
#040F1B #040F1B #0A2A4A #114980 #1967B6

Accessibility & contrast

On white

14.55
#0A2A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0A2A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2A4A
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2A4A#FFFFFF#000000##FFFFFF
##0A2A4A1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2C4B
Deuteranopia (green-blind)
#112649
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0a2a4a;
/* rgb */ color: rgb(10, 42, 74);
/* oklch */ color: oklch(28.1% 0.070 251.8);
Tailwind
colors: {
  custom: {
    50: '#55637d',
    500: '#0a2a4a',
    950: '#000000',
  },
}
SCSS
$custom: #0a2a4a;
$custom-light: #55637d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2a4a",
  "rgb": {
    "r": 10,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 210,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28096,
    "c": 0.06955,
    "h": 251.8
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#0A2A4A
secondary
#875829
accent
#9435F3
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0A2A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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