#090540#090540

#090540 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.6% C 0.105 H 273.1°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#090540
RGBrgb(9, 5, 64)
HSLhsl(244, 86%, 14%)
HSVhsv(244, 92%, 25%)
CMYKcmyk(85.9%, 92.2%, 0%, 74.9%)
CIE-LABlab(4.85, 22.96, -35.17)
CIE-LCHlch(4.85, 42.00, 303.14°)
OKLaboklab(18.63% 0.0057 -0.1044)
OKLCHoklch(18.63% 0.105 273.1)
XYZxyz(1.0920, 0.5367, 4.8955)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090540 #3C4005
analogous
#051E40 #090540 #260540
triadic
#090540 #400905 #054009
tetradic
#090540 #40051E #3C4005 #054026
square
#090540 #40051E #3C4005 #054026
split-complementary
#090540 #402605 #1E4005
monochromatic
#04021C #04021C #090540 #110979 #190EB2

Accessibility & contrast

On white

18.96
#090540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #090540
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090540#FFFFFF#000000##FFFFFF
##0905401.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001342
Deuteranopia (green-blind)
#000E3F
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #090540;
/* rgb */ color: rgb(9, 5, 64);
/* oklch */ color: oklch(18.6% 0.105 273.1);
Tailwind
colors: {
  custom: {
    50: '#534776',
    500: '#090540',
    950: '#000000',
  },
}
SCSS
$custom: #090540;
$custom-light: #534776;
$custom-dark: #000000;
JSON
{
  "hex": "#090540",
  "rgb": {
    "r": 9,
    "g": 5,
    "b": 64
  },
  "hsl": {
    "h": 244.068,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.1863,
    "c": 0.10458,
    "h": 273.1
  },
  "luminance": 0.00537
}

Semantic roles & 50–950 ramp

primary
#090540
secondary
#7A8120
accent
#FC2CEE
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #090540

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

Preview Lab → · Contrast checker → · Palette generator →

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