#090338#090338

#090338 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.097 H 275.8°. Best body text is #FFFFFF at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#090338
RGBrgb(9, 3, 56)
HSLhsl(247, 90%, 12%)
HSVhsv(247, 95%, 22%)
CMYKcmyk(83.9%, 94.6%, 0%, 78%)
CIE-LABlab(3.69, 19.27, -31.26)
CIE-LCHlch(3.69, 36.72, 301.65°)
OKLaboklab(17.08% 0.0097 -0.096)
OKLCHoklch(17.08% 0.097 275.8)
XYZxyz(0.8588, 0.4086, 3.7742)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090338 #323803
analogous
#031838 #090338 #240338
triadic
#090338 #380903 #033809
tetradic
#090338 #380318 #323803 #033824
square
#090338 #380318 #323803 #033824
split-complementary
#090338 #382403 #183803
monochromatic
#05021D #05021D #090338 #120672 #1C09AC

Accessibility & contrast

On white

19.41
#090338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#090338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090338
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090338#FFFFFF#000000##FFFFFF
##0903381.0019.411.0819.41
#FFFFFF19.411.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F39
Deuteranopia (green-blind)
#000B37
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #090338;
/* rgb */ color: rgb(9, 3, 56);
/* oklch */ color: oklch(17.1% 0.097 275.8);
Tailwind
colors: {
  custom: {
    50: '#50476f',
    500: '#090338',
    950: '#000000',
  },
}
SCSS
$custom: #090338;
$custom-light: #50476f;
$custom-dark: #000000;
JSON
{
  "hex": "#090338",
  "rgb": {
    "r": 9,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 246.792,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17083,
    "c": 0.09653,
    "h": 275.8
  },
  "luminance": 0.00409
}

Semantic roles & 50–950 ramp

primary
#090338
secondary
#707B1C
accent
#FF29E7
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #090338

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

Preview Lab → · Contrast checker → · Palette generator →

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