#090542#090542

#090542 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.107 H 272.7°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#090542
RGBrgb(9, 5, 66)
HSLhsl(244, 86%, 14%)
HSVhsv(244, 92%, 26%)
CMYKcmyk(86.4%, 92.4%, 0%, 74.1%)
CIE-LABlab(5.06, 24.02, -36.26)
CIE-LCHlch(5.06, 43.50, 303.53°)
OKLaboklab(18.91% 0.0051 -0.1072)
OKLCHoklch(18.91% 0.107 272.7)
XYZxyz(1.1500, 0.5598, 5.2007)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090542 #3E4205
analogous
#052042 #090542 #280542
triadic
#090542 #420905 #054209
tetradic
#090542 #420520 #3E4205 #054228
square
#090542 #420520 #3E4205 #054228
split-complementary
#090542 #422805 #204205
monochromatic
#04021C #04021C #090542 #11097B #190EB4

Accessibility & contrast

On white

18.88
#090542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#090542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090542
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090542#FFFFFF#000000##FFFFFF
##0905421.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #090542;
/* rgb */ color: rgb(9, 5, 66);
/* oklch */ color: oklch(18.9% 0.107 272.7);
Tailwind
colors: {
  custom: {
    50: '#544777',
    500: '#090542',
    950: '#000000',
  },
}
SCSS
$custom: #090542;
$custom-light: #544777;
$custom-dark: #000000;
JSON
{
  "hex": "#090542",
  "rgb": {
    "r": 9,
    "g": 5,
    "b": 66
  },
  "hsl": {
    "h": 243.934,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.18912,
    "c": 0.1073,
    "h": 272.7
  },
  "luminance": 0.0056
}

Semantic roles & 50–950 ramp

primary
#090542
secondary
#7C8220
accent
#FC2CEE
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #090542

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

Preview Lab → · Contrast checker → · Palette generator →

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