#090239#090239

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

Color values

HEX#090239
RGBrgb(9, 2, 57)
HSLhsl(248, 93%, 12%)
HSVhsv(248, 96%, 22%)
CMYKcmyk(84.2%, 96.5%, 0%, 77.6%)
CIE-LABlab(3.58, 20.28, -32.17)
CIE-LCHlch(3.58, 38.03, 302.23°)
OKLaboklab(17% 0.01 -0.099)
OKLCHoklch(17% 0.099 275.8)
XYZxyz(0.8726, 0.3968, 3.9007)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090239 #323902
analogous
#021739 #090239 #250239
triadic
#090239 #390902 #023909
tetradic
#090239 #390217 #323902 #023925
square
#090239 #390217 #323902 #023925
split-complementary
#090239 #392502 #173902
monochromatic
#05011E #05011E #090239 #120474 #1C06AF

Accessibility & contrast

On white

19.46
#090239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #090239
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090239#FFFFFF#000000##FFFFFF
##0902391.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #090239;
/* rgb */ color: rgb(9, 2, 57);
/* oklch */ color: oklch(17.0% 0.099 275.8);
Tailwind
colors: {
  custom: {
    50: '#504670',
    500: '#090239',
    950: '#000000',
  },
}
SCSS
$custom: #090239;
$custom-light: #504670;
$custom-dark: #000000;
JSON
{
  "hex": "#090239",
  "rgb": {
    "r": 9,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 247.636,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17003,
    "c": 0.09949,
    "h": 275.8
  },
  "luminance": 0.00397
}

Semantic roles & 50–950 ramp

primary
#090239
secondary
#707D1A
accent
#FF29E4
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #090239

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

Preview Lab → · Contrast checker → · Palette generator →

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