#0A12CD#0A12CD

#0A12CD is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 39.4% C 0.258 H 265.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#0A12CD
RGBrgb(10, 18, 205)
HSLhsl(238, 91%, 42%)
HSVhsv(238, 95%, 80%)
CMYKcmyk(95.1%, 91.2%, 0%, 19.6%)
CIE-LABlab(26.46, 63.26, -89.01)
CIE-LCHlch(26.46, 109.20, 305.40°)
OKLaboklab(39.4% -0.0217 -0.2574)
OKLCHoklch(39.4% 0.258 265.2)
XYZxyz(11.3571, 4.9034, 58.0936)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A12CD #CDC50A
analogous
#0A74CD #0A12CD #630ACD
triadic
#0A12CD #CD0A12 #12CD0A
tetradic
#0A12CD #CD0A74 #CDC50A #0ACD63
square
#0A12CD #CD0A74 #CDC50A #0ACD63
split-complementary
#0A12CD #CD630A #74CD0A
monochromatic
#040858 #070D93 #0A12CD #2029F4 #5A61F7

Accessibility & contrast

On white

10.60
#0A12CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0A12CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A12CD
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A12CD#FFFFFF#000000##FFFFFF
##0A12CD1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048D2
Deuteranopia (green-blind)
#0034CA
Tritanopia (blue-blind)
#005779
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0a12cd;
/* rgb */ color: rgb(10, 18, 205);
/* oklch */ color: oklch(39.4% 0.258 265.2);
Tailwind
colors: {
  custom: {
    50: '#7d5bde',
    500: '#0a12cd',
    950: '#000000',
  },
}
SCSS
$custom: #0a12cd;
$custom-light: #7d5bde;
$custom-dark: #000000;
JSON
{
  "hex": "#0a12cd",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 205
  },
  "hsl": {
    "h": 237.538,
    "s": 90.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39404,
    "c": 0.25836,
    "h": 265.2
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#0A12CD
secondary
#DAD559
accent
#F629FF
background
#F8F5FD
surface
#F0E9FB
border
#CBC5D4
text
#0D0415
muted
#7D7983

Preview Lab

Preview with #0A12CD

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

Preview Lab → · Contrast checker → · Palette generator →

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