#0A2A40#0A2A40

#0A2A40 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.055 H 242.8°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#0A2A40
RGBrgb(10, 42, 64)
HSLhsl(204, 73%, 15%)
HSVhsv(204, 84%, 25%)
CMYKcmyk(84.4%, 34.4%, 0%, 74.9%)
CIE-LABlab(15.95, -2.56, -17.25)
CIE-LCHlch(15.95, 17.44, 261.57°)
OKLaboklab(27.41% -0.0251 -0.0488)
OKLCHoklch(27.41% 0.055 242.8)
XYZxyz(1.8782, 2.0904, 5.1540)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2A40 #40200A
analogous
#0A403B #0A2A40 #0A0F40
triadic
#0A2A40 #400A2A #2A400A
tetradic
#0A2A40 #3B0A40 #40200A #0F400A
square
#0A2A40 #3B0A40 #40200A #0F400A
split-complementary
#0A2A40 #400A0F #403B0A
monochromatic
#04111A #04111A #0A2A40 #124D75 #1B6FAA

Accessibility & contrast

On white

14.81
#0A2A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0A2A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2A40
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2A40#FFFFFF#000000##FFFFFF
##0A2A401.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A41
Deuteranopia (green-blind)
#182540
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0a2a40;
/* rgb */ color: rgb(10, 42, 64);
/* oklch */ color: oklch(27.4% 0.055 242.8);
Tailwind
colors: {
  custom: {
    50: '#526375',
    500: '#0a2a40',
    950: '#000000',
  },
}
SCSS
$custom: #0a2a40;
$custom-light: #526375;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2a40",
  "rgb": {
    "r": 10,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 204.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27406,
    "c": 0.05489,
    "h": 242.8
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#0A2A40
secondary
#7D4B29
accent
#8338F0
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0A2A40

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

Preview Lab → · Contrast checker → · Palette generator →

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