#070227#070227

#070227 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.2% C 0.075 H 280.3°. Best body text is #FFFFFF at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#070227
RGBrgb(7, 2, 39)
HSLhsl(248, 90%, 8%)
HSVhsv(248, 95%, 15%)
CMYKcmyk(82.1%, 94.9%, 0%, 84.7%)
CIE-LABlab(2.12, 10.32, -20.99)
CIE-LCHlch(2.12, 23.39, 296.20°)
OKLaboklab(14.16% 0.0134 -0.074)
OKLCHoklch(14.16% 0.075 280.3)
XYZxyz(0.4754, 0.2350, 1.9394)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070227 #222702
analogous
#020F27 #070227 #190227
triadic
#070227 #270702 #022707
tetradic
#070227 #27020F #222702 #022719
square
#070227 #27020F #222702 #022719
split-complementary
#070227 #271902 #0F2702
monochromatic
#05011D #05011D #070227 #110561 #1C089B

Accessibility & contrast

On white

20.06
#070227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#070227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070227
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070227#FFFFFF#000000##FFFFFF
##0702271.0020.061.0520.06
#FFFFFF20.061.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070227;
/* rgb */ color: rgb(7, 2, 39);
/* oklch */ color: oklch(14.2% 0.075 280.3);
Tailwind
colors: {
  custom: {
    50: '#4a4761',
    500: '#070227',
    950: '#000000',
  },
}
SCSS
$custom: #070227;
$custom-light: #4a4761;
$custom-dark: #000000;
JSON
{
  "hex": "#070227",
  "rgb": {
    "r": 7,
    "g": 2,
    "b": 39
  },
  "hsl": {
    "h": 248.108,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.14159,
    "c": 0.07522,
    "h": 280.3
  },
  "luminance": 0.00235
}

Semantic roles & 50–950 ramp

primary
#070227
secondary
#616C18
accent
#FF29E2
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010005
muted
#777779

Preview Lab

Preview with #070227

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

Preview Lab → · Contrast checker → · Palette generator →

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