#0F083C#0F083C

#0F083C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.093 H 279.1°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#0F083C
RGBrgb(15, 8, 60)
HSLhsl(248, 76%, 13%)
HSVhsv(248, 87%, 24%)
CMYKcmyk(75%, 86.7%, 0%, 76.5%)
CIE-LABlab(5.43, 20.69, -31.33)
CIE-LCHlch(5.43, 37.54, 303.44°)
OKLaboklab(19.16% 0.0148 -0.0921)
OKLCHoklch(19.16% 0.093 279.1)
XYZxyz(1.0992, 0.6014, 4.3322)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F083C #353C08
analogous
#081B3C #0F083C #29083C
triadic
#0F083C #3C0F08 #083C0F
tetradic
#0F083C #3C081B #353C08 #083C29
square
#0F083C #3C081B #353C08 #083C29
split-complementary
#0F083C #3C2908 #1B3C08
monochromatic
#07041B #07041B #0F083C #1C0F72 #2A16A8

Accessibility & contrast

On white

18.75
#0F083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0F083C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F083C
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F083C#FFFFFF#000000##FFFFFF
##0F083C1.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143D
Deuteranopia (green-blind)
#00103B
Tritanopia (blue-blind)
#001721
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f083c;
/* rgb */ color: rgb(15, 8, 60);
/* oklch */ color: oklch(19.2% 0.093 279.1);
Tailwind
colors: {
  custom: {
    50: '#554972',
    500: '#0f083c',
    950: '#000000',
  },
}
SCSS
$custom: #0f083c;
$custom-light: #554972;
$custom-dark: #000000;
JSON
{
  "hex": "#0f083c",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 248.077,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19157,
    "c": 0.0933,
    "h": 279.1
  },
  "luminance": 0.00601
}

Semantic roles & 50–950 ramp

primary
#0F083C
secondary
#6F7B25
accent
#F335D9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F083C

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

Preview Lab → · Contrast checker → · Palette generator →

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