#0F083E#0F083E

#0F083E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.096 H 278.5°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#0F083E
RGBrgb(15, 8, 62)
HSLhsl(248, 77%, 14%)
HSVhsv(248, 87%, 24%)
CMYKcmyk(75.8%, 87.1%, 0%, 75.7%)
CIE-LABlab(5.63, 21.67, -32.45)
CIE-LCHlch(5.63, 39.02, 303.74°)
OKLaboklab(19.41% 0.0142 -0.0951)
OKLCHoklch(19.41% 0.096 278.5)
XYZxyz(1.1531, 0.6229, 4.6160)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F083E #373E08
analogous
#081C3E #0F083E #2A083E
triadic
#0F083E #3E0F08 #083E0F
tetradic
#0F083E #3E081C #373E08 #083E2A
square
#0F083E #3E081C #373E08 #083E2A
split-complementary
#0F083E #3E2A08 #1C3E08
monochromatic
#07031B #07031B #0F083E #1C0F74 #2916AA

Accessibility & contrast

On white

18.67
#0F083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F083E
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F083E#FFFFFF#000000##FFFFFF
##0F083E1.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001440
Deuteranopia (green-blind)
#00103D
Tritanopia (blue-blind)
#001822
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f083e;
/* rgb */ color: rgb(15, 8, 62);
/* oklch */ color: oklch(19.4% 0.096 278.5);
Tailwind
colors: {
  custom: {
    50: '#554974',
    500: '#0f083e',
    950: '#000000',
  },
}
SCSS
$custom: #0f083e;
$custom-light: #554974;
$custom-dark: #000000;
JSON
{
  "hex": "#0f083e",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 247.778,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19407,
    "c": 0.09618,
    "h": 278.5
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#0F083E
secondary
#717D25
accent
#F434DB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F083E

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

Preview Lab → · Contrast checker → · Palette generator →

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