#0F084B#0F084B

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

Color values

HEX#0F084B
RGBrgb(15, 8, 75)
HSLhsl(246, 81%, 16%)
HSVhsv(246, 89%, 29%)
CMYKcmyk(80%, 89.3%, 0%, 70.6%)
CIE-LABlab(7.07, 27.43, -39.27)
CIE-LCHlch(7.07, 47.90, 304.93°)
OKLaboklab(21.08% 0.0101 -0.1137)
OKLCHoklch(21.08% 0.114 275.1)
XYZxyz(1.5534, 0.7831, 6.7245)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F084B #444B08
analogous
#08234B #0F084B #31084B
triadic
#0F084B #4B0F08 #084B0F
tetradic
#0F084B #4B0823 #444B08 #084B31
square
#0F084B #4B0823 #444B08 #084B31
split-complementary
#0F084B #4B3108 #234B08
monochromatic
#06031C #06031C #0F084B #1A0E82 #2514BA

Accessibility & contrast

On white

18.16
#0F084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F084B
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F084B#FFFFFF#000000##FFFFFF
##0F084B1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194D
Deuteranopia (green-blind)
#00134A
Tritanopia (blue-blind)
#001D2A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f084b;
/* rgb */ color: rgb(15, 8, 75);
/* oklch */ color: oklch(21.1% 0.114 275.1);
Tailwind
colors: {
  custom: {
    50: '#5a497e',
    500: '#0f084b',
    950: '#000000',
  },
}
SCSS
$custom: #0f084b;
$custom-light: #5a497e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f084b",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 246.269,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21083,
    "c": 0.11419,
    "h": 275.1
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#0F084B
secondary
#7E8926
accent
#F731E2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F084B

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

Preview Lab → · Contrast checker → · Palette generator →

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