#0F104F#0F104F

#0F104F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.8% C 0.111 H 272.6°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#0F104F
RGBrgb(15, 16, 79)
HSLhsl(239, 68%, 18%)
HSVhsv(239, 81%, 31%)
CMYKcmyk(81%, 79.7%, 0%, 69%)
CIE-LABlab(9.29, 24.09, -38.38)
CIE-LCHlch(9.29, 45.31, 302.11°)
OKLaboklab(22.82% 0.0051 -0.1111)
OKLCHoklch(22.82% 0.111 272.6)
XYZxyz(1.7931, 1.0365, 7.5012)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F104F #4F4E0F
analogous
#0F304F #0F104F #2E0F4F
triadic
#0F104F #4F0F10 #104F0F
tetradic
#0F104F #4F0F30 #4F4E0F #0F4F2E
square
#0F104F #4F0F30 #4F4E0F #0F4F2E
split-complementary
#0F104F #4F2E0F #304F0F
monochromatic
#05051A #05061C #0F104F #191A82 #2325B6

Accessibility & contrast

On white

17.39
#0F104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0F104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F104F
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F104F#FFFFFF#000000##FFFFFF
##0F104F1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#00174E
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f104f;
/* rgb */ color: rgb(15, 16, 79);
/* oklch */ color: oklch(22.8% 0.111 272.6);
Tailwind
colors: {
  custom: {
    50: '#5a4e81',
    500: '#0f104f',
    950: '#000000',
  },
}
SCSS
$custom: #0f104f;
$custom-light: #5a4e81;
$custom-dark: #000000;
JSON
{
  "hex": "#0f104f",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 239.063,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.22819,
    "c": 0.11117,
    "h": 272.6
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#0F104F
secondary
#898831
accent
#E83DEB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F104F

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

Preview Lab → · Contrast checker → · Palette generator →

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