#0F104A#0F104A

#0F104A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.104 H 273.3°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#0F104A
RGBrgb(15, 16, 74)
HSLhsl(239, 66%, 17%)
HSVhsv(239, 80%, 29%)
CMYKcmyk(79.7%, 78.4%, 0%, 71%)
CIE-LABlab(8.71, 22.12, -35.88)
CIE-LCHlch(8.71, 42.15, 301.65°)
OKLaboklab(22.23% 0.006 -0.1038)
OKLCHoklch(22.23% 0.104 273.3)
XYZxyz(1.6179, 0.9664, 6.5785)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F104A #4A490F
analogous
#0F2E4A #0F104A #2C0F4A
triadic
#0F104A #4A0F10 #104A0F
tetradic
#0F104A #4A0F2E #4A490F #0F4A2C
square
#0F104A #4A0F2E #4A490F #0F4A2C
split-complementary
#0F104A #4A2C0F #2E4A0F
monochromatic
#050619 #050619 #0F104A #191B7D #2426B0

Accessibility & contrast

On white

17.60
#0F104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F104A
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F104A#FFFFFF#000000##FFFFFF
##0F104A1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001649
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f104a;
/* rgb */ color: rgb(15, 16, 74);
/* oklch */ color: oklch(22.2% 0.104 273.3);
Tailwind
colors: {
  custom: {
    50: '#584e7d',
    500: '#0f104a',
    950: '#000000',
  },
}
SCSS
$custom: #0f104a;
$custom-light: #584e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f104a",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 238.983,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22227,
    "c": 0.10394,
    "h": 273.3
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#0F104A
secondary
#848330
accent
#E63FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F104A

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

Preview Lab → · Contrast checker → · Palette generator →

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