#0F104C#0F104C

#0F104C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.107 H 273.0°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#0F104C
RGBrgb(15, 16, 76)
HSLhsl(239, 67%, 18%)
HSVhsv(239, 80%, 30%)
CMYKcmyk(80.3%, 78.9%, 0%, 70.2%)
CIE-LABlab(8.94, 22.91, -36.89)
CIE-LCHlch(8.94, 43.42, 301.85°)
OKLaboklab(22.46% 0.0056 -0.1067)
OKLCHoklch(22.46% 0.107 273)
XYZxyz(1.6864, 0.9938, 6.9390)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F104C #4C4B0F
analogous
#0F2F4C #0F104C #2C0F4C
triadic
#0F104C #4C0F10 #104C0F
tetradic
#0F104C #4C0F2F #4C4B0F #0F4C2C
square
#0F104C #4C0F2F #4C4B0F #0F4C2C
split-complementary
#0F104C #4C2C0F #2F4C0F
monochromatic
#05051A #05051A #0F104C #191B7F #2326B2

Accessibility & contrast

On white

17.52
#0F104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F104C
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F104C#FFFFFF#000000##FFFFFF
##0F104C1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00164B
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f104c;
/* rgb */ color: rgb(15, 16, 76);
/* oklch */ color: oklch(22.5% 0.107 273.0);
Tailwind
colors: {
  custom: {
    50: '#594e7f',
    500: '#0f104c',
    950: '#000000',
  },
}
SCSS
$custom: #0f104c;
$custom-light: #594e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f104c",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 239.016,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22462,
    "c": 0.10686,
    "h": 273
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F104C

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

Preview Lab → · Contrast checker → · Palette generator →

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