#090F42#090F42

#090F42 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.095 H 270.0°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#090F42
RGBrgb(9, 15, 66)
HSLhsl(234, 76%, 15%)
HSVhsv(234, 86%, 26%)
CMYKcmyk(86.4%, 77.3%, 0%, 74.1%)
CIE-LABlab(7.16, 18.70, -32.81)
CIE-LCHlch(7.16, 37.77, 299.68°)
OKLaboklab(20.71% 0 -0.0951)
OKLCHoklch(20.71% 0.095 270)
XYZxyz(1.2665, 0.7929, 5.2395)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090F42 #423C09
analogous
#092C42 #090F42 #200942
triadic
#090F42 #42090F #0F4209
tetradic
#090F42 #42092C #423C09 #094220
square
#090F42 #42092C #423C09 #094220
split-complementary
#090F42 #422009 #2C4209
monochromatic
#04061B #04061B #090F42 #101B78 #1827AE

Accessibility & contrast

On white

18.13
#090F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#090F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090F42
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090F42#FFFFFF#000000##FFFFFF
##090F421.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001341
Tritanopia (blue-blind)
#001D27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #090f42;
/* rgb */ color: rgb(9, 15, 66);
/* oklch */ color: oklch(20.7% 0.095 270.0);
Tailwind
colors: {
  custom: {
    50: '#544d77',
    500: '#090f42',
    950: '#000000',
  },
}
SCSS
$custom: #090f42;
$custom-light: #544d77;
$custom-dark: #000000;
JSON
{
  "hex": "#090f42",
  "rgb": {
    "r": 9,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 233.684,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20706,
    "c": 0.09513,
    "h": 270
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#090F42
secondary
#807627
accent
#DF35F3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #090F42

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

Preview Lab → · Contrast checker → · Palette generator →

#090F42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva