#090742#090742

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

Color values

HEX#090742
RGBrgb(9, 7, 66)
HSLhsl(242, 81%, 14%)
HSVhsv(242, 89%, 26%)
CMYKcmyk(86.4%, 89.4%, 0%, 74.1%)
CIE-LABlab(5.45, 23.05, -35.62)
CIE-LCHlch(5.45, 42.42, 302.91°)
OKLaboklab(19.27% 0.0042 -0.1047)
OKLCHoklch(19.27% 0.105 272.3)
XYZxyz(1.1717, 0.6033, 5.2079)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090742 #404207
analogous
#072342 #090742 #270742
triadic
#090742 #420907 #074209
tetradic
#090742 #420723 #404207 #074227
square
#090742 #420723 #404207 #074227
split-complementary
#090742 #422707 #234207
monochromatic
#04031C #04031C #090742 #110D79 #1813B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##090742#FFFFFF#000000##FFFFFF
##0907421.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)
#001544
Deuteranopia (green-blind)
#000F41
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #090742;
/* rgb */ color: rgb(9, 7, 66);
/* oklch */ color: oklch(19.3% 0.105 272.3);
Tailwind
colors: {
  custom: {
    50: '#544877',
    500: '#090742',
    950: '#000000',
  },
}
SCSS
$custom: #090742;
$custom-light: #544877;
$custom-dark: #000000;
JSON
{
  "hex": "#090742",
  "rgb": {
    "r": 9,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 242.034,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19272,
    "c": 0.10482,
    "h": 272.3
  },
  "luminance": 0.00603
}

Semantic roles & 50–950 ramp

primary
#090742
secondary
#7E8124
accent
#F731F0
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #090742

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

Preview Lab → · Contrast checker → · Palette generator →

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