#080228#080228

#080228 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.4% C 0.076 H 281.6°. Best body text is #FFFFFF at 20.01:1 contrast (WCAG AA passes).

Color values

HEX#080228
RGBrgb(8, 2, 40)
HSLhsl(249, 90%, 8%)
HSVhsv(249, 95%, 16%)
CMYKcmyk(80%, 95%, 0%, 84.3%)
CIE-LABlab(2.24, 11.01, -21.57)
CIE-LCHlch(2.24, 24.22, 297.05°)
OKLaboklab(14.43% 0.0153 -0.0748)
OKLCHoklch(14.43% 0.076 281.6)
XYZxyz(0.5047, 0.2482, 2.0284)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080228 #222802
analogous
#020F28 #080228 #1B0228
triadic
#080228 #280802 #022808
tetradic
#080228 #28020F #222802 #02281B
square
#080228 #28020F #222802 #02281B
split-complementary
#080228 #281B02 #0F2802
monochromatic
#06011D #06011D #080228 #140562 #1F089D

Accessibility & contrast

On white

20.01
#080228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080228
20.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080228#FFFFFF#000000##FFFFFF
##0802281.0020.011.0520.01
#FFFFFF20.011.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000929
Deuteranopia (green-blind)
#000727
Tritanopia (blue-blind)
#000B14
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #080228;
/* rgb */ color: rgb(8, 2, 40);
/* oklch */ color: oklch(14.4% 0.076 281.6);
Tailwind
colors: {
  custom: {
    50: '#4a4762',
    500: '#080228',
    950: '#000000',
  },
}
SCSS
$custom: #080228;
$custom-light: #4a4762;
$custom-dark: #000000;
JSON
{
  "hex": "#080228",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 40
  },
  "hsl": {
    "h": 249.474,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.1443,
    "c": 0.07639,
    "h": 281.6
  },
  "luminance": 0.00248
}

Semantic roles & 50–950 ramp

primary
#080228
secondary
#606D19
accent
#FF29DD
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #080228

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

Preview Lab → · Contrast checker → · Palette generator →

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