#080236#080236

#080236 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.096 H 275.6°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#080236
RGBrgb(8, 2, 54)
HSLhsl(247, 93%, 11%)
HSVhsv(247, 96%, 21%)
CMYKcmyk(85.2%, 96.3%, 0%, 78.8%)
CIE-LABlab(3.26, 18.19, -30.48)
CIE-LCHlch(3.26, 35.50, 300.83°)
OKLaboklab(16.46% 0.0093 -0.0953)
OKLCHoklch(16.46% 0.096 275.6)
XYZxyz(0.7875, 0.3613, 3.5175)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080236 #303602
analogous
#021636 #080236 #220236
triadic
#080236 #360802 #023608
tetradic
#080236 #360216 #303602 #023622
square
#080236 #360216 #303602 #023622
split-complementary
#080236 #362202 #163602
monochromatic
#04011E #04011E #080236 #110471 #1906AC

Accessibility & contrast

On white

19.59
#080236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#080236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080236
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080236#FFFFFF#000000##FFFFFF
##0802361.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E37
Deuteranopia (green-blind)
#000935
Tritanopia (blue-blind)
#00111C
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #080236;
/* rgb */ color: rgb(8, 2, 54);
/* oklch */ color: oklch(16.5% 0.096 275.6);
Tailwind
colors: {
  custom: {
    50: '#4e476e',
    500: '#080236',
    950: '#000000',
  },
}
SCSS
$custom: #080236;
$custom-light: #4e476e;
$custom-dark: #000000;
JSON
{
  "hex": "#080236",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 246.923,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.16462,
    "c": 0.0958,
    "h": 275.6
  },
  "luminance": 0.00361
}

Semantic roles & 50–950 ramp

primary
#080236
secondary
#6F7A1A
accent
#FF29E6
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #080236

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

Preview Lab → · Contrast checker → · Palette generator →

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