#0A043C#0A043C

#0A043C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.100 H 275.3°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#0A043C
RGBrgb(10, 4, 60)
HSLhsl(246, 88%, 13%)
HSVhsv(246, 93%, 24%)
CMYKcmyk(83.3%, 93.3%, 0%, 76.5%)
CIE-LABlab(4.31, 21.41, -33.16)
CIE-LCHlch(4.31, 39.47, 302.85°)
OKLaboklab(17.95% 0.0093 -0.0997)
OKLCHoklch(17.95% 0.1 275.3)
XYZxyz(0.9839, 0.4775, 4.3144)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A043C #363C04
analogous
#041A3C #0A043C #26043C
triadic
#0A043C #3C0A04 #043C0A
tetradic
#0A043C #3C041A #363C04 #043C26
square
#0A043C #3C041A #363C04 #043C26
split-complementary
#0A043C #3C2604 #1A3C04
monochromatic
#05021D #05021D #0A043C #140875 #1D0CAF

Accessibility & contrast

On white

19.17
#0A043C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0A043C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A043C
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A043C#FFFFFF#000000##FFFFFF
##0A043C1.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113E
Deuteranopia (green-blind)
#000C3B
Tritanopia (blue-blind)
#001520
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0a043c;
/* rgb */ color: rgb(10, 4, 60);
/* oklch */ color: oklch(18.0% 0.100 275.3);
Tailwind
colors: {
  custom: {
    50: '#524772',
    500: '#0a043c',
    950: '#000000',
  },
}
SCSS
$custom: #0a043c;
$custom-light: #524772;
$custom-dark: #000000;
JSON
{
  "hex": "#0a043c",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 60
  },
  "hsl": {
    "h": 246.429,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.17952,
    "c": 0.10017,
    "h": 275.3
  },
  "luminance": 0.00478
}

Semantic roles & 50–950 ramp

primary
#0A043C
secondary
#737E1E
accent
#FE2AE7
background
#F5F4F7
surface
#E8E6ED
border
#C4C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0A043C

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

Preview Lab → · Contrast checker → · Palette generator →

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