#090840#090840

#090840 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.101 H 272.4°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#090840
RGBrgb(9, 8, 64)
HSLhsl(241, 78%, 14%)
HSVhsv(241, 88%, 25%)
CMYKcmyk(85.9%, 87.5%, 0%, 74.9%)
CIE-LABlab(5.44, 21.54, -34.21)
CIE-LCHlch(5.44, 40.43, 302.19°)
OKLaboklab(19.18% 0.0042 -0.1007)
OKLCHoklch(19.18% 0.101 272.4)
XYZxyz(1.1246, 0.6018, 4.9064)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090840 #3F4008
analogous
#082340 #090840 #250840
triadic
#090840 #400908 #084009
tetradic
#090840 #400823 #3F4008 #084025
square
#090840 #400823 #3F4008 #084025
split-complementary
#090840 #402508 #234008
monochromatic
#04031B #04031B #090840 #110F76 #1816AD

Accessibility & contrast

On white

18.74
#090840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#090840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090840
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090840#FFFFFF#000000##FFFFFF
##0908401.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#000F3F
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #090840;
/* rgb */ color: rgb(9, 8, 64);
/* oklch */ color: oklch(19.2% 0.101 272.4);
Tailwind
colors: {
  custom: {
    50: '#534976',
    500: '#090840',
    950: '#000000',
  },
}
SCSS
$custom: #090840;
$custom-light: #534976;
$custom-dark: #000000;
JSON
{
  "hex": "#090840",
  "rgb": {
    "r": 9,
    "g": 8,
    "b": 64
  },
  "hsl": {
    "h": 241.071,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19181,
    "c": 0.10079,
    "h": 272.4
  },
  "luminance": 0.00602
}

Semantic roles & 50–950 ramp

primary
#090840
secondary
#7D7E25
accent
#F434F1
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030108
muted
#78777B

Preview Lab

Preview with #090840

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

Preview Lab → · Contrast checker → · Palette generator →

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