#030227#030227

#030227 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.6% C 0.077 H 271.8°. Best body text is #FFFFFF at 20.16:1 contrast (WCAG AA passes).

Color values

HEX#030227
RGBrgb(3, 2, 39)
HSLhsl(242, 90%, 8%)
HSVhsv(242, 95%, 15%)
CMYKcmyk(92.3%, 94.9%, 0%, 84.7%)
CIE-LABlab(1.89, 9.28, -21.37)
CIE-LCHlch(1.89, 23.29, 293.47°)
OKLaboklab(13.6% 0.0025 -0.0771)
OKLCHoklch(13.6% 0.077 271.8)
XYZxyz(0.4253, 0.2092, 1.9370)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030227 #262702
analogous
#021327 #030227 #150227
triadic
#030227 #270302 #022703
tetradic
#030227 #270213 #262702 #022715
square
#030227 #270213 #262702 #022715
split-complementary
#030227 #271502 #132702
monochromatic
#02011D #02011D #030227 #070561 #0C089B

Accessibility & contrast

On white

20.16
#030227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030227
20.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030227#FFFFFF#000000##FFFFFF
##0302271.0020.161.0420.16
#FFFFFF20.161.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000928
Deuteranopia (green-blind)
#000526
Tritanopia (blue-blind)
#000B13
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #030227;
/* rgb */ color: rgb(3, 2, 39);
/* oklch */ color: oklch(13.6% 0.077 271.8);
Tailwind
colors: {
  custom: {
    50: '#484761',
    500: '#030227',
    950: '#000000',
  },
}
SCSS
$custom: #030227;
$custom-light: #484761;
$custom-dark: #000000;
JSON
{
  "hex": "#030227",
  "rgb": {
    "r": 3,
    "g": 2,
    "b": 39
  },
  "hsl": {
    "h": 241.622,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.13604,
    "c": 0.0771,
    "h": 271.8
  },
  "luminance": 0.00209
}

Semantic roles & 50–950 ramp

primary
#030227
secondary
#6A6C18
accent
#FF29F9
background
#F4F4F5
surface
#E6E6EA
border
#C2C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #030227

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

Preview Lab → · Contrast checker → · Palette generator →

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