#09123B#09123B

#09123B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.080 H 268.7°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#09123B
RGBrgb(9, 18, 59)
HSLhsl(229, 74%, 13%)
HSVhsv(229, 85%, 23%)
CMYKcmyk(84.7%, 69.5%, 0%, 76.9%)
CIE-LABlab(7.28, 13.36, -27.61)
CIE-LCHlch(7.28, 30.67, 295.81°)
OKLaboklab(20.57% -0.0018 -0.0798)
OKLCHoklch(20.57% 0.08 268.7)
XYZxyz(1.1181, 0.8063, 4.2335)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#09123B #3B3209
analogous
#092B3B #09123B #19093B
triadic
#09123B #3B0912 #123B09
tetradic
#09123B #3B092B #3B3209 #093B19
square
#09123B #3B092B #3B3209 #093B19
split-complementary
#09123B #3B1909 #2B3B09
monochromatic
#04081B #04081B #09123B #112270 #1932A5

Accessibility & contrast

On white

18.08
#09123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#09123B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #09123B
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##09123B#FFFFFF#000000##FFFFFF
##09123B1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #09123b;
/* rgb */ color: rgb(9, 18, 59);
/* oklch */ color: oklch(20.6% 0.080 268.7);
Tailwind
colors: {
  custom: {
    50: '#514f71',
    500: '#09123b',
    950: '#000000',
  },
}
SCSS
$custom: #09123b;
$custom-light: #514f71;
$custom-dark: #000000;
JSON
{
  "hex": "#09123b",
  "rgb": {
    "r": 9,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 229.2,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20571,
    "c": 0.07986,
    "h": 268.7
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#09123B
secondary
#796A27
accent
#CF38F0
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #09123B

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

Preview Lab → · Contrast checker → · Palette generator →

#09123B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva