#0A1241#0A1241

#0A1241 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.089 H 269.5°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#0A1241
RGBrgb(10, 18, 65)
HSLhsl(231, 73%, 15%)
HSVhsv(231, 85%, 25%)
CMYKcmyk(84.6%, 72.3%, 0%, 74.5%)
CIE-LABlab(7.94, 16.25, -30.83)
CIE-LCHlch(7.94, 34.85, 297.80°)
OKLaboklab(21.28% -0.0008 -0.0891)
OKLCHoklch(21.28% 0.089 269.5)
XYZxyz(1.2953, 0.8787, 5.1013)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1241 #41390A
analogous
#0A2E41 #0A1241 #1E0A41
triadic
#0A1241 #410A12 #12410A
tetradic
#0A1241 #410A2E #41390A #0A411E
square
#0A1241 #410A2E #41390A #0A411E
split-complementary
#0A1241 #411E0A #2E410A
monochromatic
#04071B #04071B #0A1241 #122176 #1A2FAB

Accessibility & contrast

On white

17.86
#0A1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0A1241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1241
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1241#FFFFFF#000000##FFFFFF
##0A12411.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0a1241;
/* rgb */ color: rgb(10, 18, 65);
/* oklch */ color: oklch(21.3% 0.089 269.5);
Tailwind
colors: {
  custom: {
    50: '#544f76',
    500: '#0a1241',
    950: '#000000',
  },
}
SCSS
$custom: #0a1241;
$custom-light: #544f76;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1241",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 231.273,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21277,
    "c": 0.08914,
    "h": 269.5
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#0A1241
secondary
#7E7229
accent
#D538F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A1241

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

Preview Lab → · Contrast checker → · Palette generator →

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