#090340#090340

#090340 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.107 H 273.6°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#090340
RGBrgb(9, 3, 64)
HSLhsl(246, 91%, 13%)
HSVhsv(246, 95%, 25%)
CMYKcmyk(85.9%, 95.3%, 0%, 74.9%)
CIE-LABlab(4.46, 23.90, -35.81)
CIE-LCHlch(4.46, 43.06, 303.72°)
OKLaboklab(18.24% 0.0067 -0.107)
OKLCHoklch(18.24% 0.107 273.6)
XYZxyz(1.0703, 0.4933, 4.8883)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090340 #3A4003
analogous
#031B40 #090340 #270340
triadic
#090340 #400903 #034009
tetradic
#090340 #40031B #3A4003 #034027
square
#090340 #40031B #3A4003 #034027
split-complementary
#090340 #402703 #1B4003
monochromatic
#04011D #04011D #090340 #11067A #1908B5

Accessibility & contrast

On white

19.12
#090340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#090340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090340
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090340#FFFFFF#000000##FFFFFF
##0903401.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001242
Deuteranopia (green-blind)
#000C3F
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #090340;
/* rgb */ color: rgb(9, 3, 64);
/* oklch */ color: oklch(18.2% 0.107 273.6);
Tailwind
colors: {
  custom: {
    50: '#534676',
    500: '#090340',
    950: '#000000',
  },
}
SCSS
$custom: #090340;
$custom-light: #534676;
$custom-dark: #000000;
JSON
{
  "hex": "#090340",
  "rgb": {
    "r": 9,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 245.902,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18244,
    "c": 0.10726,
    "h": 273.6
  },
  "luminance": 0.00493
}

Semantic roles & 50–950 ramp

primary
#090340
secondary
#78821D
accent
#FF29EA
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #090340

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

Preview Lab → · Contrast checker → · Palette generator →

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