#0A113F#0A113F

#0A113F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.087 H 270.1°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#0A113F
RGBrgb(10, 17, 63)
HSLhsl(232, 73%, 14%)
HSVhsv(232, 84%, 25%)
CMYKcmyk(84.1%, 73%, 0%, 75.3%)
CIE-LABlab(7.44, 16.09, -30.21)
CIE-LCHlch(7.44, 34.23, 298.04°)
OKLaboklab(20.84% 0.0001 -0.0874)
OKLCHoklch(20.84% 0.087 270.1)
XYZxyz(1.2225, 0.8242, 4.7963)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A113F #3F380A
analogous
#0A2C3F #0A113F #1E0A3F
triadic
#0A113F #3F0A11 #113F0A
tetradic
#0A113F #3F0A2C #3F380A #0A3F1E
square
#0A113F #3F0A2C #3F380A #0A3F1E
split-complementary
#0A113F #3F1E0A #2C3F0A
monochromatic
#04071A #04071A #0A113F #121F74 #1B2EA9

Accessibility & contrast

On white

18.03
#0A113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0A113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A113F
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A113F#FFFFFF#000000##FFFFFF
##0A113F1.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0a113f;
/* rgb */ color: rgb(10, 17, 63);
/* oklch */ color: oklch(20.8% 0.087 270.1);
Tailwind
colors: {
  custom: {
    50: '#534e75',
    500: '#0a113f',
    950: '#000000',
  },
}
SCSS
$custom: #0a113f;
$custom-light: #534e75;
$custom-dark: #000000;
JSON
{
  "hex": "#0a113f",
  "rgb": {
    "r": 10,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 232.075,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20841,
    "c": 0.0874,
    "h": 270.1
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#0A113F
secondary
#7C7129
accent
#D738EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A113F

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

Preview Lab → · Contrast checker → · Palette generator →

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