#0A0239#0A0239

#0A0239 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.099 H 276.9°. Best body text is #FFFFFF at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#0A0239
RGBrgb(10, 2, 57)
HSLhsl(249, 93%, 12%)
HSVhsv(249, 96%, 22%)
CMYKcmyk(82.5%, 96.5%, 0%, 77.6%)
CIE-LABlab(3.64, 20.53, -32.07)
CIE-LCHlch(3.64, 38.08, 302.63°)
OKLaboklab(17.1% 0.0119 -0.0985)
OKLCHoklch(17.1% 0.099 276.9)
XYZxyz(0.8852, 0.4033, 3.9013)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0239 #313902
analogous
#021639 #0A0239 #260239
triadic
#0A0239 #390A02 #02390A
tetradic
#0A0239 #390216 #313902 #023926
square
#0A0239 #390216 #313902 #023926
split-complementary
#0A0239 #392602 #163902
monochromatic
#05011E #05011E #0A0239 #140474 #1F06AF

Accessibility & contrast

On white

19.43
#0A0239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0239
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0239#FFFFFF#000000##FFFFFF
##0A02391.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F3A
Deuteranopia (green-blind)
#000B38
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0a0239;
/* rgb */ color: rgb(10, 2, 57);
/* oklch */ color: oklch(17.1% 0.099 276.9);
Tailwind
colors: {
  custom: {
    50: '#514670',
    500: '#0a0239',
    950: '#000000',
  },
}
SCSS
$custom: #0a0239;
$custom-light: #514670;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0239",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 248.727,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17095,
    "c": 0.09918,
    "h": 276.9
  },
  "luminance": 0.00403
}

Semantic roles & 50–950 ramp

primary
#0A0239
secondary
#6E7D1A
accent
#FF29E0
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0A0239

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

Preview Lab → · Contrast checker → · Palette generator →

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