#090642#090642

#090642 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.106 H 272.5°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#090642
RGBrgb(9, 6, 66)
HSLhsl(243, 83%, 14%)
HSVhsv(243, 91%, 26%)
CMYKcmyk(86.4%, 90.9%, 0%, 74.1%)
CIE-LABlab(5.25, 23.54, -35.94)
CIE-LCHlch(5.25, 42.96, 303.22°)
OKLaboklab(19.09% 0.0046 -0.1059)
OKLCHoklch(19.09% 0.106 272.5)
XYZxyz(1.1608, 0.5815, 5.2043)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090642 #3F4206
analogous
#062142 #090642 #270642
triadic
#090642 #420906 #064209
tetradic
#090642 #420621 #3F4206 #064227
square
#090642 #420621 #3F4206 #064227
split-complementary
#090642 #422706 #214206
monochromatic
#04031C #04031C #090642 #110B7A #1810B2

Accessibility & contrast

On white

18.81
#090642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #090642
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090642#FFFFFF#000000##FFFFFF
##0906421.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001444
Deuteranopia (green-blind)
#000E41
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #090642;
/* rgb */ color: rgb(9, 6, 66);
/* oklch */ color: oklch(19.1% 0.106 272.5);
Tailwind
colors: {
  custom: {
    50: '#544877',
    500: '#090642',
    950: '#000000',
  },
}
SCSS
$custom: #090642;
$custom-light: #544877;
$custom-dark: #000000;
JSON
{
  "hex": "#090642",
  "rgb": {
    "r": 9,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 243,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19093,
    "c": 0.10604,
    "h": 272.5
  },
  "luminance": 0.00582
}

Semantic roles & 50–950 ramp

primary
#090642
secondary
#7D8222
accent
#FA2EEF
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #090642

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

Preview Lab → · Contrast checker → · Palette generator →

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