#0A154A#0A154A

#0A154A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.099 H 268.1°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#0A154A
RGBrgb(10, 21, 74)
HSLhsl(230, 76%, 16%)
HSVhsv(230, 86%, 29%)
CMYKcmyk(86.5%, 71.6%, 0%, 71%)
CIE-LABlab(9.76, 17.88, -34.16)
CIE-LCHlch(9.76, 38.56, 297.62°)
OKLaboklab(22.91% -0.0033 -0.0989)
OKLCHoklch(22.91% 0.099 268.1)
XYZxyz(1.6289, 1.0951, 6.6028)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A154A #4A3F0A
analogous
#0A354A #0A154A #1F0A4A
triadic
#0A154A #4A0A15 #154A0A
tetradic
#0A154A #4A0A35 #4A3F0A #0A4A1F
square
#0A154A #4A0A35 #4A3F0A #0A4A1F
split-complementary
#0A154A #4A1F0A #354A0A
monochromatic
#04081B #04081B #0A154A #112480 #1934B6

Accessibility & contrast

On white

17.23
#0A154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0A154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A154A
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A154A#FFFFFF#000000##FFFFFF
##0A154A1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#00232D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0a154a;
/* rgb */ color: rgb(10, 21, 74);
/* oklch */ color: oklch(22.9% 0.099 268.1);
Tailwind
colors: {
  custom: {
    50: '#56527d',
    500: '#0a154a',
    950: '#000000',
  },
}
SCSS
$custom: #0a154a;
$custom-light: #56527d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a154a",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 229.688,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22908,
    "c": 0.09892,
    "h": 268.1
  },
  "luminance": 0.01095
}

Semantic roles & 50–950 ramp

primary
#0A154A
secondary
#877729
accent
#D235F3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#03020A
muted
#78787C

Preview Lab

Preview with #0A154A

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

Preview Lab → · Contrast checker → · Palette generator →

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