#0F094A#0F094A

#0F094A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.112 H 275.1°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#0F094A
RGBrgb(15, 9, 74)
HSLhsl(246, 78%, 16%)
HSVhsv(246, 88%, 29%)
CMYKcmyk(79.7%, 87.8%, 0%, 71%)
CIE-LABlab(7.15, 26.48, -38.45)
CIE-LCHlch(7.15, 46.69, 304.56°)
OKLaboklab(21.1% 0.0099 -0.1114)
OKLCHoklch(21.1% 0.112 275.1)
XYZxyz(1.5303, 0.7912, 6.5493)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F094A #444A09
analogous
#09244A #0F094A #30094A
triadic
#0F094A #4A0F09 #094A0F
tetradic
#0F094A #4A0924 #444A09 #094A30
square
#0F094A #4A0924 #444A09 #094A30
split-complementary
#0F094A #4A3009 #244A09
monochromatic
#06031B #06031B #0F094A #1A1081 #2516B7

Accessibility & contrast

On white

18.13
#0F094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F094A
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F094A#FFFFFF#000000##FFFFFF
##0F094A1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194C
Deuteranopia (green-blind)
#001349
Tritanopia (blue-blind)
#001D2A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f094a;
/* rgb */ color: rgb(15, 9, 74);
/* oklch */ color: oklch(21.1% 0.112 275.1);
Tailwind
colors: {
  custom: {
    50: '#594a7d',
    500: '#0f094a',
    950: '#000000',
  },
}
SCSS
$custom: #0f094a;
$custom-light: #594a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f094a",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 245.538,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21099,
    "c": 0.1118,
    "h": 275.1
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#0F094A
secondary
#7E8727
accent
#F533E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F094A

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

Preview Lab → · Contrast checker → · Palette generator →

#0F094A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva