#010C30#010C30

#010C30 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.3% C 0.075 H 262.7°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#010C30
RGBrgb(1, 12, 48)
HSLhsl(226, 96%, 10%)
HSVhsv(226, 98%, 19%)
CMYKcmyk(97.9%, 75%, 0%, 81.2%)
CIE-LABlab(4.36, 8.95, -24.30)
CIE-LCHlch(4.36, 25.90, 290.22°)
OKLaboklab(17.33% -0.0096 -0.0742)
OKLCHoklch(17.33% 0.075 262.7)
XYZxyz(0.6773, 0.4827, 2.8532)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010C30 #302501
analogous
#012430 #010C30 #0D0130
triadic
#010C30 #30010C #0C3001
tetradic
#010C30 #300124 #302501 #01300D
square
#010C30 #300124 #302501 #01300D
split-complementary
#010C30 #300D01 #243001
monochromatic
#01071E #01071E #010C30 #021B6C #032AA8

Accessibility & contrast

On white

19.15
#010C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#010C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010C30
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010C30#FFFFFF#000000##FFFFFF
##010C301.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001231
Deuteranopia (green-blind)
#000D2F
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #010c30;
/* rgb */ color: rgb(1, 12, 48);
/* oklch */ color: oklch(17.3% 0.075 262.7);
Tailwind
colors: {
  custom: {
    50: '#494c68',
    500: '#010c30',
    950: '#000000',
  },
}
SCSS
$custom: #010c30;
$custom-light: #494c68;
$custom-dark: #000000;
JSON
{
  "hex": "#010c30",
  "rgb": {
    "r": 1,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 225.957,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17331,
    "c": 0.07481,
    "h": 262.7
  },
  "luminance": 0.00483
}

Semantic roles & 50–950 ramp

primary
#010C30
secondary
#766017
accent
#CD29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #010C30

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

Preview Lab → · Contrast checker → · Palette generator →

#010C30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva