#0A103C#0A103C

#0A103C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.084 H 270.7°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#0A103C
RGBrgb(10, 16, 60)
HSLhsl(233, 71%, 14%)
HSVhsv(233, 83%, 24%)
CMYKcmyk(83.3%, 73.3%, 0%, 76.5%)
CIE-LABlab(6.88, 15.37, -28.99)
CIE-LCHlch(6.88, 32.81, 297.93°)
OKLaboklab(20.29% 0.0011 -0.084)
OKLCHoklch(20.29% 0.084 270.7)
XYZxyz(1.1258, 0.7612, 4.3617)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A103C #3C360A
analogous
#0A293C #0A103C #1D0A3C
triadic
#0A103C #3C0A10 #103C0A
tetradic
#0A103C #3C0A29 #3C360A #0A3C1D
square
#0A103C #3C0A29 #3C360A #0A3C1D
split-complementary
#0A103C #3C1D0A #293C0A
monochromatic
#04071A #04071A #0A103C #131E70 #1B2CA5

Accessibility & contrast

On white

18.23
#0A103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0A103C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A103C
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A103C#FFFFFF#000000##FFFFFF
##0A103C1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#00133B
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a103c;
/* rgb */ color: rgb(10, 16, 60);
/* oklch */ color: oklch(20.3% 0.084 270.7);
Tailwind
colors: {
  custom: {
    50: '#524e72',
    500: '#0a103c',
    950: '#000000',
  },
}
SCSS
$custom: #0a103c;
$custom-light: #524e72;
$custom-dark: #000000;
JSON
{
  "hex": "#0a103c",
  "rgb": {
    "r": 10,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 232.8,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20293,
    "c": 0.08406,
    "h": 270.7
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#0A103C
secondary
#797028
accent
#D93AEE
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #0A103C

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

Preview Lab → · Contrast checker → · Palette generator →

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