#0A043F#0A043F

#0A043F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.4% C 0.104 H 274.5°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#0A043F
RGBrgb(10, 4, 63)
HSLhsl(246, 88%, 13%)
HSVhsv(246, 94%, 25%)
CMYKcmyk(84.1%, 93.7%, 0%, 75.3%)
CIE-LABlab(4.61, 23.08, -34.85)
CIE-LCHlch(4.61, 41.79, 303.51°)
OKLaboklab(18.38% 0.0082 -0.1039)
OKLCHoklch(18.38% 0.104 274.5)
XYZxyz(1.0655, 0.5101, 4.7440)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A043F #393F04
analogous
#041B3F #0A043F #27043F
triadic
#0A043F #3F0A04 #043F0A
tetradic
#0A043F #3F041B #393F04 #043F27
square
#0A043F #3F041B #393F04 #043F27
split-complementary
#0A043F #3F2704 #1B3F04
monochromatic
#05021D #05021D #0A043F #130879 #1C0BB2

Accessibility & contrast

On white

19.06
#0A043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A043F
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A043F#FFFFFF#000000##FFFFFF
##0A043F1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001241
Deuteranopia (green-blind)
#000D3E
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0a043f;
/* rgb */ color: rgb(10, 4, 63);
/* oklch */ color: oklch(18.4% 0.104 274.5);
Tailwind
colors: {
  custom: {
    50: '#534775',
    500: '#0a043f',
    950: '#000000',
  },
}
SCSS
$custom: #0a043f;
$custom-light: #534775;
$custom-dark: #000000;
JSON
{
  "hex": "#0a043f",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 246.102,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18376,
    "c": 0.10424,
    "h": 274.5
  },
  "luminance": 0.0051
}

Semantic roles & 50–950 ramp

primary
#0A043F
secondary
#76801E
accent
#FE2AE9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0A043F

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

Preview Lab → · Contrast checker → · Palette generator →

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