#000227#000227

#000227 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.1% C 0.080 H 264.2°. Best body text is #FFFFFF at 20.23:1 contrast (WCAG AA passes).

Color values

HEX#000227
RGBrgb(0, 2, 39)
HSLhsl(237, 100%, 8%)
HSVhsv(237, 100%, 15%)
CMYKcmyk(100%, 94.9%, 0%, 84.7%)
CIE-LABlab(1.71, 8.50, -21.65)
CIE-LCHlch(1.71, 23.26, 291.42°)
OKLaboklab(13.14% -0.0081 -0.0795)
OKLCHoklch(13.14% 0.08 264.2)
XYZxyz(0.3878, 0.1898, 1.9353)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#000227 #272500
analogous
#001527 #000227 #110027
triadic
#000227 #270002 #022700
tetradic
#000227 #270015 #272500 #002711
square
#000227 #270015 #272500 #002711
split-complementary
#000227 #271100 #152700
monochromatic
#00021F #00021F #000227 #000564 #0008A1

Accessibility & contrast

On white

20.23
#000227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #000227
20.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##000227#FFFFFF#000000##FFFFFF
##0002271.0020.231.0420.23
#FFFFFF20.231.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.231.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: #000227;
/* rgb */ color: rgb(0, 2, 39);
/* oklch */ color: oklch(13.1% 0.080 264.2);
Tailwind
colors: {
  custom: {
    50: '#464761',
    500: '#000227',
    950: '#000000',
  },
}
SCSS
$custom: #000227;
$custom-light: #464761;
$custom-dark: #000000;
JSON
{
  "hex": "#000227",
  "rgb": {
    "r": 0,
    "g": 2,
    "b": 39
  },
  "hsl": {
    "h": 236.923,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.13143,
    "c": 0.07993,
    "h": 264.2
  },
  "luminance": 0.0019
}

Semantic roles & 50–950 ramp

primary
#000227
secondary
#6F6A14
accent
#F429FF
background
#F4F4F5
surface
#E6E6EA
border
#C2C2C6
text
#000005
muted
#777779

Preview Lab

Preview with #000227

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

Preview Lab → · Contrast checker → · Palette generator →

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