#090C40#090C40

#090C40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.096 H 271.3°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#090C40
RGBrgb(9, 12, 64)
HSLhsl(237, 75%, 14%)
HSVhsv(237, 86%, 25%)
CMYKcmyk(85.9%, 81.2%, 0%, 74.9%)
CIE-LABlab(6.24, 19.55, -32.89)
CIE-LCHlch(6.24, 38.26, 300.72°)
OKLaboklab(19.89% 0.0021 -0.0959)
OKLCHoklch(19.89% 0.096 271.3)
XYZxyz(1.1692, 0.6911, 4.9213)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090C40 #403D09
analogous
#092840 #090C40 #220940
triadic
#090C40 #40090C #0C4009
tetradic
#090C40 #400928 #403D09 #094022
square
#090C40 #400928 #403D09 #094022
split-complementary
#090C40 #402209 #284009
monochromatic
#04051B #04051B #090C40 #111676 #1820AB

Accessibility & contrast

On white

18.45
#090C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#090C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090C40
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090C40#FFFFFF#000000##FFFFFF
##090C401.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #090c40;
/* rgb */ color: rgb(9, 12, 64);
/* oklch */ color: oklch(19.9% 0.096 271.3);
Tailwind
colors: {
  custom: {
    50: '#534b75',
    500: '#090c40',
    950: '#000000',
  },
}
SCSS
$custom: #090c40;
$custom-light: #534b75;
$custom-dark: #000000;
JSON
{
  "hex": "#090c40",
  "rgb": {
    "r": 9,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 236.727,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19888,
    "c": 0.09597,
    "h": 271.3
  },
  "luminance": 0.00691
}

Semantic roles & 50–950 ramp

primary
#090C40
secondary
#7E7927
accent
#E836F2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #090C40

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

Preview Lab → · Contrast checker → · Palette generator →

#090C40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva