#0A2A4E#0A2A4E

#0A2A4E is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.076 H 254.2°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#0A2A4E
RGBrgb(10, 42, 78)
HSLhsl(212, 77%, 17%)
HSVhsv(212, 87%, 31%)
CMYKcmyk(87.2%, 46.2%, 0%, 69.4%)
CIE-LABlab(16.85, 3.63, -25.43)
CIE-LCHlch(16.85, 25.69, 278.11°)
OKLaboklab(28.4% -0.0206 -0.0728)
OKLCHoklch(28.4% 0.076 254.2)
XYZxyz(2.3278, 2.2702, 7.5218)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2A4E #4E2E0A
analogous
#0A4C4E #0A2A4E #0C0A4E
triadic
#0A2A4E #4E0A2A #2A4E0A
tetradic
#0A2A4E #4E0A4C #4E2E0A #0A4E0C
square
#0A2A4E #4E0A4C #4E2E0A #0A4E0C
split-complementary
#0A2A4E #4E0C0A #4C4E0A
monochromatic
#030F1B #030F1B #0A2A4E #114784 #1864BA

Accessibility & contrast

On white

14.44
#0A2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0A2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2A4E
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2A4E#FFFFFF#000000##FFFFFF
##0A2A4E1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D4F
Deuteranopia (green-blind)
#0C274D
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0a2a4e;
/* rgb */ color: rgb(10, 42, 78);
/* oklch */ color: oklch(28.4% 0.076 254.2);
Tailwind
colors: {
  custom: {
    50: '#566380',
    500: '#0a2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #0a2a4e;
$custom-light: #566380;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2a4e",
  "rgb": {
    "r": 10,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 211.765,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28395,
    "c": 0.07566,
    "h": 254.2
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#0A2A4E
secondary
#8B5D29
accent
#9A34F4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0A2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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