#0A2340#0A2340

#0A2340 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.4% C 0.063 H 254.2°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#0A2340
RGBrgb(10, 35, 64)
HSLhsl(212, 73%, 15%)
HSVhsv(212, 84%, 25%)
CMYKcmyk(84.4%, 45.3%, 0%, 74.9%)
CIE-LABlab(13.45, 2.55, -21.21)
CIE-LCHlch(13.45, 21.37, 276.86°)
OKLaboklab(25.44% -0.0171 -0.0605)
OKLCHoklch(25.44% 0.063 254.2)
XYZxyz(1.6513, 1.6366, 5.0784)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2340 #40270A
analogous
#0A3E40 #0A2340 #0C0A40
triadic
#0A2340 #400A23 #23400A
tetradic
#0A2340 #400A3E #40270A #0A400C
square
#0A2340 #400A3E #40270A #0A400C
split-complementary
#0A2340 #400C0A #3E400A
monochromatic
#040E1A #040E1A #0A2340 #124075 #1B5DAA

Accessibility & contrast

On white

15.82
#0A2340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0A2340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2340
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2340#FFFFFF#000000##FFFFFF
##0A23401.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152541
Deuteranopia (green-blind)
#0D203F
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0a2340;
/* rgb */ color: rgb(10, 35, 64);
/* oklch */ color: oklch(25.4% 0.063 254.2);
Tailwind
colors: {
  custom: {
    50: '#525d75',
    500: '#0a2340',
    950: '#000000',
  },
}
SCSS
$custom: #0a2340;
$custom-light: #525d75;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2340",
  "rgb": {
    "r": 10,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 212.222,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2544,
    "c": 0.06292,
    "h": 254.2
  },
  "luminance": 0.01637
}

Semantic roles & 50–950 ramp

primary
#0A2340
secondary
#7D5629
accent
#9B38F0
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0A2340

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

Preview Lab → · Contrast checker → · Palette generator →

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