#0F104D#0F104D

#0F104D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.108 H 272.9°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#0F104D
RGBrgb(15, 16, 77)
HSLhsl(239, 67%, 18%)
HSVhsv(239, 81%, 30%)
CMYKcmyk(80.5%, 79.2%, 0%, 69.8%)
CIE-LABlab(9.06, 23.30, -37.39)
CIE-LCHlch(9.06, 44.06, 301.94°)
OKLaboklab(22.58% 0.0054 -0.1082)
OKLCHoklch(22.58% 0.108 272.9)
XYZxyz(1.7214, 1.0078, 7.1235)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F104D #4D4C0F
analogous
#0F2F4D #0F104D #2D0F4D
triadic
#0F104D #4D0F10 #104D0F
tetradic
#0F104D #4D0F2F #4D4C0F #0F4D2D
square
#0F104D #4D0F2F #4D4C0F #0F4D2D
split-complementary
#0F104D #4D2D0F #2F4D0F
monochromatic
#05051A #05051A #0F104D #191B80 #2325B3

Accessibility & contrast

On white

17.48
#0F104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0F104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F104D
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F104D#FFFFFF#000000##FFFFFF
##0F104D1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#00174C
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f104d;
/* rgb */ color: rgb(15, 16, 77);
/* oklch */ color: oklch(22.6% 0.108 272.9);
Tailwind
colors: {
  custom: {
    50: '#594e80',
    500: '#0f104d',
    950: '#000000',
  },
}
SCSS
$custom: #0f104d;
$custom-light: #594e80;
$custom-dark: #000000;
JSON
{
  "hex": "#0f104d",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 239.032,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2258,
    "c": 0.10831,
    "h": 272.9
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#0F104D
secondary
#878631
accent
#E73EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F104D

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

Preview Lab → · Contrast checker → · Palette generator →

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