#080268#080268

#080268 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 24.0% C 0.158 H 267.7°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#080268
RGBrgb(8, 2, 104)
HSLhsl(244, 96%, 21%)
HSVhsv(244, 98%, 41%)
CMYKcmyk(92.3%, 98.1%, 0%, 59.2%)
CIE-LABlab(9.75, 40.03, -54.50)
CIE-LCHlch(9.75, 67.62, 306.30°)
OKLaboklab(24.02% -0.0064 -0.1575)
OKLCHoklch(24.02% 0.158 267.7)
XYZxyz(2.6197, 1.0942, 13.1671)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080268 #626802
analogous
#022F68 #080268 #3B0268
triadic
#080268 #680802 #026808
tetradic
#080268 #68022F #626802 #02683B
square
#080268 #68022F #626802 #02683B
split-complementary
#080268 #683B02 #2F6802
monochromatic
#02011E #03012C #080268 #0D03A4 #1104E0

Accessibility & contrast

On white

17.23
#080268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#080268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080268
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080268#FFFFFF#000000##FFFFFF
##0802681.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00206B
Deuteranopia (green-blind)
#001566
Tritanopia (blue-blind)
#00283A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #080268;
/* rgb */ color: rgb(8, 2, 104);
/* oklch */ color: oklch(24.0% 0.158 267.7);
Tailwind
colors: {
  custom: {
    50: '#614995',
    500: '#080268',
    950: '#000000',
  },
}
SCSS
$custom: #080268;
$custom-light: #614995;
$custom-dark: #000000;
JSON
{
  "hex": "#080268",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 104
  },
  "hsl": {
    "h": 243.529,
    "s": 96.226,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24018,
    "c": 0.1576,
    "h": 267.7
  },
  "luminance": 0.01095
}

Semantic roles & 50–950 ramp

primary
#080268
secondary
#9EA620
accent
#FF29F2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06010D
muted
#7A777E

Preview Lab

Preview with #080268

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

Preview Lab → · Contrast checker → · Palette generator →

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