#090331#090331

#090331 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 16.1% C 0.087 H 278.2°. Best body text is #FFFFFF at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#090331
RGBrgb(9, 3, 49)
HSLhsl(248, 88%, 10%)
HSVhsv(248, 94%, 19%)
CMYKcmyk(81.6%, 93.9%, 0%, 80.8%)
CIE-LABlab(3.12, 15.22, -27.01)
CIE-LCHlch(3.12, 31.00, 299.41°)
OKLaboklab(16.09% 0.0124 -0.0859)
OKLCHoklch(16.09% 0.087 278.2)
XYZxyz(0.6994, 0.3449, 2.9348)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090331 #2B3103
analogous
#031431 #090331 #200331
triadic
#090331 #310903 #033109
tetradic
#090331 #310314 #2B3103 #033120
square
#090331 #310314 #2B3103 #033120
split-complementary
#090331 #312003 #143103
monochromatic
#05021D #05021D #090331 #14076B #1E0AA4

Accessibility & contrast

On white

19.64
#090331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#090331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090331
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090331#FFFFFF#000000##FFFFFF
##0903311.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D32
Deuteranopia (green-blind)
#000930
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #090331;
/* rgb */ color: rgb(9, 3, 49);
/* oklch */ color: oklch(16.1% 0.087 278.2);
Tailwind
colors: {
  custom: {
    50: '#4d4769',
    500: '#090331',
    950: '#000000',
  },
}
SCSS
$custom: #090331;
$custom-light: #4d4769;
$custom-dark: #000000;
JSON
{
  "hex": "#090331",
  "rgb": {
    "r": 9,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 247.826,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16089,
    "c": 0.08682,
    "h": 278.2
  },
  "luminance": 0.00345
}

Semantic roles & 50–950 ramp

primary
#090331
secondary
#69741B
accent
#FF29E3
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #090331

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

Preview Lab → · Contrast checker → · Palette generator →

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