#0F083F#0F083F

#0F083F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.5% C 0.098 H 278.2°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#0F083F
RGBrgb(15, 8, 63)
HSLhsl(248, 77%, 14%)
HSVhsv(248, 87%, 25%)
CMYKcmyk(76.2%, 87.3%, 0%, 75.3%)
CIE-LABlab(5.73, 22.15, -33.00)
CIE-LCHlch(5.73, 39.75, 303.87°)
OKLaboklab(19.53% 0.0139 -0.0966)
OKLCHoklch(19.53% 0.098 278.2)
XYZxyz(1.1807, 0.6340, 4.7618)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F083F #383F08
analogous
#081D3F #0F083F #2B083F
triadic
#0F083F #3F0F08 #083F0F
tetradic
#0F083F #3F081D #383F08 #083F2B
square
#0F083F #3F081D #383F08 #083F2B
split-complementary
#0F083F #3F2B08 #1D3F08
monochromatic
#06031B #06031B #0F083F #1C0F75 #2916AC

Accessibility & contrast

On white

18.64
#0F083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0F083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F083F
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F083F#FFFFFF#000000##FFFFFF
##0F083F1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00103E
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f083f;
/* rgb */ color: rgb(15, 8, 63);
/* oklch */ color: oklch(19.5% 0.098 278.2);
Tailwind
colors: {
  custom: {
    50: '#564975',
    500: '#0f083f',
    950: '#000000',
  },
}
SCSS
$custom: #0f083f;
$custom-light: #564975;
$custom-dark: #000000;
JSON
{
  "hex": "#0f083f",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 247.636,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19532,
    "c": 0.09761,
    "h": 278.2
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#0F083F
secondary
#727E25
accent
#F434DC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F083F

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

Preview Lab → · Contrast checker → · Palette generator →

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