#0A0236#0A0236

#0A0236 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.7% C 0.095 H 278.0°. Best body text is #FFFFFF at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#0A0236
RGBrgb(10, 2, 54)
HSLhsl(249, 93%, 11%)
HSVhsv(249, 96%, 21%)
CMYKcmyk(81.5%, 96.3%, 0%, 78.8%)
CIE-LABlab(3.38, 18.71, -30.29)
CIE-LCHlch(3.38, 35.61, 301.71°)
OKLaboklab(16.66% 0.0132 -0.0943)
OKLCHoklch(16.66% 0.095 278)
XYZxyz(0.8125, 0.3742, 3.5187)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0236 #2E3602
analogous
#021436 #0A0236 #240236
triadic
#0A0236 #360A02 #02360A
tetradic
#0A0236 #360214 #2E3602 #023624
square
#0A0236 #360214 #2E3602 #023624
split-complementary
#0A0236 #362402 #143602
monochromatic
#05011E #05011E #0A0236 #150471 #2006AC

Accessibility & contrast

On white

19.54
#0A0236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0A0236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0236
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0236#FFFFFF#000000##FFFFFF
##0A02361.0019.541.0719.54
#FFFFFF19.541.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E37
Deuteranopia (green-blind)
#000A35
Tritanopia (blue-blind)
#00111C
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0a0236;
/* rgb */ color: rgb(10, 2, 54);
/* oklch */ color: oklch(16.7% 0.095 278.0);
Tailwind
colors: {
  custom: {
    50: '#4f476e',
    500: '#0a0236',
    950: '#000000',
  },
}
SCSS
$custom: #0a0236;
$custom-light: #4f476e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0236",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 249.231,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.16658,
    "c": 0.0952,
    "h": 278
  },
  "luminance": 0.00374
}

Semantic roles & 50–950 ramp

primary
#0A0236
secondary
#6B7A1A
accent
#FF29DE
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0A0236

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

Preview Lab → · Contrast checker → · Palette generator →

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