#090C30#090C30

#090C30 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.071 H 273.3°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#090C30
RGBrgb(9, 12, 48)
HSLhsl(235, 68%, 11%)
HSVhsv(235, 81%, 19%)
CMYKcmyk(81.3%, 75%, 0%, 81.2%)
CIE-LABlab(4.83, 11.05, -23.53)
CIE-LCHlch(4.83, 25.99, 295.15°)
OKLaboklab(18.02% 0.004 -0.0706)
OKLCHoklch(18.02% 0.071 273.3)
XYZxyz(0.7775, 0.5343, 2.8579)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090C30 #302D09
analogous
#091F30 #090C30 #190930
triadic
#090C30 #30090C #0C3009
tetradic
#090C30 #30091F #302D09 #093019
square
#090C30 #30091F #302D09 #093019
split-complementary
#090C30 #301909 #1F3009
monochromatic
#05061A #05061A #090C30 #131964 #1C2697

Accessibility & contrast

On white

18.97
#090C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#090C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090C30
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090C30#FFFFFF#000000##FFFFFF
##090C301.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001231
Deuteranopia (green-blind)
#000F2F
Tritanopia (blue-blind)
#00151C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #090c30;
/* rgb */ color: rgb(9, 12, 48);
/* oklch */ color: oklch(18.0% 0.071 273.3);
Tailwind
colors: {
  custom: {
    50: '#4d4c68',
    500: '#090c30',
    950: '#000000',
  },
}
SCSS
$custom: #090c30;
$custom-light: #4d4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#090c30",
  "rgb": {
    "r": 9,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 235.385,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18017,
    "c": 0.0707,
    "h": 273.3
  },
  "luminance": 0.00534
}

Semantic roles & 50–950 ramp

primary
#090C30
secondary
#6E6927
accent
#DE3DEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #090C30

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

Preview Lab → · Contrast checker → · Palette generator →

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