#0A2A4C#0A2A4C

#0A2A4C is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.2% C 0.073 H 253.0°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#0A2A4C
RGBrgb(10, 42, 76)
HSLhsl(211, 77%, 17%)
HSVhsv(211, 87%, 30%)
CMYKcmyk(86.8%, 44.7%, 0%, 70.2%)
CIE-LABlab(16.71, 2.73, -24.29)
CIE-LCHlch(16.71, 24.45, 276.41°)
OKLaboklab(28.24% -0.0212 -0.0694)
OKLCHoklch(28.24% 0.073 253)
XYZxyz(2.2572, 2.2420, 7.1499)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2A4C #4C2C0A
analogous
#0A4B4C #0A2A4C #0B0A4C
triadic
#0A2A4C #4C0A2A #2A4C0A
tetradic
#0A2A4C #4C0A4B #4C2C0A #0A4C0B
square
#0A2A4C #4C0A4B #4C2C0A #0A4C0B
split-complementary
#0A2A4C #4C0B0A #4B4C0A
monochromatic
#040F1B #040F1B #0A2A4C #114882 #1866B8

Accessibility & contrast

On white

14.50
#0A2A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A2A4C
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2A4C#FFFFFF#000000##FFFFFF
##0A2A4C1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4D
Deuteranopia (green-blind)
#0E274B
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0a2a4c;
/* rgb */ color: rgb(10, 42, 76);
/* oklch */ color: oklch(28.2% 0.073 253.0);
Tailwind
colors: {
  custom: {
    50: '#55637e',
    500: '#0a2a4c',
    950: '#000000',
  },
}
SCSS
$custom: #0a2a4c;
$custom-light: #55637e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2a4c",
  "rgb": {
    "r": 10,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 210.909,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28244,
    "c": 0.0726,
    "h": 253
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#0A2A4C
secondary
#895A29
accent
#9735F3
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0A2A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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