#091238#091238

#091238 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.075 H 268.6°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#091238
RGBrgb(9, 18, 56)
HSLhsl(229, 72%, 13%)
HSVhsv(229, 84%, 22%)
CMYKcmyk(83.9%, 67.9%, 0%, 78%)
CIE-LABlab(7.01, 11.91, -25.89)
CIE-LCHlch(7.01, 28.50, 294.70°)
OKLaboklab(20.26% -0.0018 -0.0749)
OKLCHoklch(20.26% 0.075 268.6)
XYZxyz(1.0425, 0.7761, 3.8355)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#091238 #382F09
analogous
#092938 #091238 #180938
triadic
#091238 #380912 #123809
tetradic
#091238 #380929 #382F09 #093818
square
#091238 #380929 #382F09 #093818
split-complementary
#091238 #381809 #293809
monochromatic
#04081A #04081A #091238 #11236D #1A34A1

Accessibility & contrast

On white

18.18
#091238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#091238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #091238
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##091238#FFFFFF#000000##FFFFFF
##0912381.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#001337
Tritanopia (blue-blind)
#001B22
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #091238;
/* rgb */ color: rgb(9, 18, 56);
/* oklch */ color: oklch(20.3% 0.075 268.6);
Tailwind
colors: {
  custom: {
    50: '#504f6f',
    500: '#091238',
    950: '#000000',
  },
}
SCSS
$custom: #091238;
$custom-light: #504f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#091238",
  "rgb": {
    "r": 9,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 228.511,
    "s": 72.308,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2026,
    "c": 0.07491,
    "h": 268.6
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#091238
secondary
#766727
accent
#CC39EF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #091238

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

Preview Lab → · Contrast checker → · Palette generator →

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