#0A023B#0A023B

#0A023B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.4% C 0.102 H 276.2°. Best body text is #FFFFFF at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#0A023B
RGBrgb(10, 2, 59)
HSLhsl(248, 93%, 12%)
HSVhsv(248, 97%, 23%)
CMYKcmyk(83.1%, 96.6%, 0%, 76.9%)
CIE-LABlab(3.83, 21.71, -33.23)
CIE-LCHlch(3.83, 39.69, 303.16°)
OKLaboklab(17.39% 0.011 -0.1012)
OKLCHoklch(17.39% 0.102 276.2)
XYZxyz(0.9360, 0.4236, 4.1693)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A023B #333B02
analogous
#02173B #0A023B #27023B
triadic
#0A023B #3B0A02 #023B0A
tetradic
#0A023B #3B0217 #333B02 #023B27
square
#0A023B #3B0217 #333B02 #023B27
split-complementary
#0A023B #3B2702 #173B02
monochromatic
#05011E #05011E #0A023B #140476 #1E06B1

Accessibility & contrast

On white

19.36
#0A023B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0A023B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A023B
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A023B#FFFFFF#000000##FFFFFF
##0A023B1.0019.361.0819.36
#FFFFFF19.361.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103D
Deuteranopia (green-blind)
#000B3A
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0a023b;
/* rgb */ color: rgb(10, 2, 59);
/* oklch */ color: oklch(17.4% 0.102 276.2);
Tailwind
colors: {
  custom: {
    50: '#524672',
    500: '#0a023b',
    950: '#000000',
  },
}
SCSS
$custom: #0a023b;
$custom-light: #524672;
$custom-dark: #000000;
JSON
{
  "hex": "#0a023b",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 59
  },
  "hsl": {
    "h": 248.421,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17389,
    "c": 0.10182,
    "h": 276.2
  },
  "luminance": 0.00424
}

Semantic roles & 50–950 ramp

primary
#0A023B
secondary
#707E1A
accent
#FF29E1
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0A023B

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

Preview Lab → · Contrast checker → · Palette generator →

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