#090339#090339

#090339 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.098 H 275.5°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#090339
RGBrgb(9, 3, 57)
HSLhsl(247, 90%, 12%)
HSVhsv(247, 95%, 22%)
CMYKcmyk(84.2%, 94.7%, 0%, 77.6%)
CIE-LABlab(3.78, 19.87, -31.85)
CIE-LCHlch(3.78, 37.54, 301.96°)
OKLaboklab(17.23% 0.0093 -0.0974)
OKLCHoklch(17.23% 0.098 275.5)
XYZxyz(0.8835, 0.4185, 3.9043)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090339 #333903
analogous
#031839 #090339 #240339
triadic
#090339 #390903 #033909
tetradic
#090339 #390318 #333903 #033924
square
#090339 #390318 #333903 #033924
split-complementary
#090339 #392403 #183903
monochromatic
#05021D #05021D #090339 #120673 #1B09AD

Accessibility & contrast

On white

19.38
#090339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #090339
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090339#FFFFFF#000000##FFFFFF
##0903391.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103A
Deuteranopia (green-blind)
#000B38
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #090339;
/* rgb */ color: rgb(9, 3, 57);
/* oklch */ color: oklch(17.2% 0.098 275.5);
Tailwind
colors: {
  custom: {
    50: '#504770',
    500: '#090339',
    950: '#000000',
  },
}
SCSS
$custom: #090339;
$custom-light: #504770;
$custom-dark: #000000;
JSON
{
  "hex": "#090339",
  "rgb": {
    "r": 9,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 246.667,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17227,
    "c": 0.0979,
    "h": 275.5
  },
  "luminance": 0.00419
}

Semantic roles & 50–950 ramp

primary
#090339
secondary
#717C1C
accent
#FF29E7
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #090339

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

Preview Lab → · Contrast checker → · Palette generator →

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