#080266#080266

#080266 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.7% C 0.155 H 267.8°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#080266
RGBrgb(8, 2, 102)
HSLhsl(244, 96%, 20%)
HSVhsv(244, 98%, 40%)
CMYKcmyk(92.2%, 98%, 0%, 60%)
CIE-LABlab(9.43, 39.45, -53.71)
CIE-LCHlch(9.43, 66.64, 306.30°)
OKLaboklab(23.72% -0.0059 -0.1552)
OKLCHoklch(23.72% 0.155 267.8)
XYZxyz(2.5193, 1.0540, 12.6385)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080266 #606602
analogous
#022E66 #080266 #3A0266
triadic
#080266 #660802 #026608
tetradic
#080266 #66022E #606602 #02663A
square
#080266 #66022E #606602 #02663A
split-complementary
#080266 #663A02 #2E6602
monochromatic
#02011E #03012A #080266 #0D03A2 #1104DE

Accessibility & contrast

On white

17.34
#080266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#080266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080266
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080266#FFFFFF#000000##FFFFFF
##0802661.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F68
Deuteranopia (green-blind)
#001564
Tritanopia (blue-blind)
#002739
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #080266;
/* rgb */ color: rgb(8, 2, 102);
/* oklch */ color: oklch(23.7% 0.155 267.8);
Tailwind
colors: {
  custom: {
    50: '#614893',
    500: '#080266',
    950: '#000000',
  },
}
SCSS
$custom: #080266;
$custom-light: #614893;
$custom-dark: #000000;
JSON
{
  "hex": "#080266",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 102
  },
  "hsl": {
    "h": 243.6,
    "s": 96.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.23717,
    "c": 0.15529,
    "h": 267.8
  },
  "luminance": 0.01054
}

Semantic roles & 50–950 ramp

primary
#080266
secondary
#9CA420
accent
#FF29F2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06010D
muted
#7A777E

Preview Lab

Preview with #080266

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

Preview Lab → · Contrast checker → · Palette generator →

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