#090842#090842

#090842 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.104 H 272.1°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#090842
RGBrgb(9, 8, 66)
HSLhsl(241, 78%, 15%)
HSVhsv(241, 88%, 26%)
CMYKcmyk(86.4%, 87.9%, 0%, 74.1%)
CIE-LABlab(5.65, 22.56, -35.30)
CIE-LCHlch(5.65, 41.89, 302.58°)
OKLaboklab(19.45% 0.0037 -0.1035)
OKLCHoklch(19.45% 0.104 272.1)
XYZxyz(1.1825, 0.6250, 5.2115)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090842 #414208
analogous
#082442 #090842 #260842
triadic
#090842 #420908 #084209
tetradic
#090842 #420824 #414208 #084226
square
#090842 #420824 #414208 #084226
split-complementary
#090842 #422608 #244208
monochromatic
#04031B #04031B #090842 #100F79 #1815AF

Accessibility & contrast

On white

18.67
#090842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#090842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090842
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090842#FFFFFF#000000##FFFFFF
##0908421.0018.671.1318.67
#FFFFFF18.671.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001544
Deuteranopia (green-blind)
#001041
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #090842;
/* rgb */ color: rgb(9, 8, 66);
/* oklch */ color: oklch(19.4% 0.104 272.1);
Tailwind
colors: {
  custom: {
    50: '#544977',
    500: '#090842',
    950: '#000000',
  },
}
SCSS
$custom: #090842;
$custom-light: #544977;
$custom-dark: #000000;
JSON
{
  "hex": "#090842",
  "rgb": {
    "r": 9,
    "g": 8,
    "b": 66
  },
  "hsl": {
    "h": 241.034,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19447,
    "c": 0.10362,
    "h": 272.1
  },
  "luminance": 0.00625
}

Semantic roles & 50–950 ramp

primary
#090842
secondary
#7F8025
accent
#F533F2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030109
muted
#78777B

Preview Lab

Preview with #090842

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

Preview Lab → · Contrast checker → · Palette generator →

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