#010227#010227

#010227 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.3% C 0.079 H 266.9°. Best body text is #FFFFFF at 20.21:1 contrast (WCAG AA passes).

Color values

HEX#010227
RGBrgb(1, 2, 39)
HSLhsl(238, 95%, 8%)
HSVhsv(238, 97%, 15%)
CMYKcmyk(97.4%, 94.9%, 0%, 84.7%)
CIE-LABlab(1.77, 8.75, -21.56)
CIE-LCHlch(1.77, 23.27, 292.10°)
OKLaboklab(13.3% -0.0043 -0.0787)
OKLCHoklch(13.3% 0.079 266.9)
XYZxyz(0.4003, 0.1963, 1.9359)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010227 #272601
analogous
#011527 #010227 #130127
triadic
#010227 #270102 #022701
tetradic
#010227 #270115 #272601 #012713
square
#010227 #270115 #272601 #012713
split-complementary
#010227 #271301 #152701
monochromatic
#01021E #01021E #010227 #030563 #04089E

Accessibility & contrast

On white

20.21
#010227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#010227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010227
20.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010227#FFFFFF#000000##FFFFFF
##0102271.0020.211.0420.21
#FFFFFF20.211.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000828
Deuteranopia (green-blind)
#000526
Tritanopia (blue-blind)
#000C13
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #010227;
/* rgb */ color: rgb(1, 2, 39);
/* oklch */ color: oklch(13.3% 0.079 266.9);
Tailwind
colors: {
  custom: {
    50: '#474761',
    500: '#010227',
    950: '#000000',
  },
}
SCSS
$custom: #010227;
$custom-light: #474761;
$custom-dark: #000000;
JSON
{
  "hex": "#010227",
  "rgb": {
    "r": 1,
    "g": 2,
    "b": 39
  },
  "hsl": {
    "h": 238.421,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.13302,
    "c": 0.07879,
    "h": 266.9
  },
  "luminance": 0.00196
}

Semantic roles & 50–950 ramp

primary
#010227
secondary
#6E6B16
accent
#F929FF
background
#F4F4F5
surface
#E6E6EA
border
#C2C2C6
text
#000005
muted
#777779

Preview Lab

Preview with #010227

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

Preview Lab → · Contrast checker → · Palette generator →

#010227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva