#090838#090838

#090838 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.089 H 273.9°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#090838
RGBrgb(9, 8, 56)
HSLhsl(241, 75%, 13%)
HSVhsv(241, 86%, 22%)
CMYKcmyk(83.9%, 85.7%, 0%, 78%)
CIE-LABlab(4.67, 17.19, -29.67)
CIE-LCHlch(4.67, 34.29, 300.08°)
OKLaboklab(18.14% 0.0061 -0.0889)
OKLCHoklch(18.14% 0.089 273.9)
XYZxyz(0.9131, 0.5172, 3.7923)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090838 #373808
analogous
#081F38 #090838 #210838
triadic
#090838 #380908 #083809
tetradic
#090838 #38081F #373808 #083821
square
#090838 #38081F #373808 #083821
split-complementary
#090838 #382108 #1F3808
monochromatic
#04041B #04041B #090838 #12106E #1A17A3

Accessibility & contrast

On white

19.03
#090838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #090838
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090838#FFFFFF#000000##FFFFFF
##0908381.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001239
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #090838;
/* rgb */ color: rgb(9, 8, 56);
/* oklch */ color: oklch(18.1% 0.089 273.9);
Tailwind
colors: {
  custom: {
    50: '#50496f',
    500: '#090838',
    950: '#000000',
  },
}
SCSS
$custom: #090838;
$custom-light: #50496f;
$custom-dark: #000000;
JSON
{
  "hex": "#090838",
  "rgb": {
    "r": 9,
    "g": 8,
    "b": 56
  },
  "hsl": {
    "h": 241.25,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18139,
    "c": 0.08909,
    "h": 273.9
  },
  "luminance": 0.00517
}

Semantic roles & 50–950 ramp

primary
#090838
secondary
#757725
accent
#F236EE
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #090838

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

Preview Lab → · Contrast checker → · Palette generator →

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