#0F104B#0F104B

#0F104B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.105 H 273.1°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#0F104B
RGBrgb(15, 16, 75)
HSLhsl(239, 67%, 18%)
HSVhsv(239, 80%, 29%)
CMYKcmyk(80%, 78.7%, 0%, 70.6%)
CIE-LABlab(8.82, 22.52, -36.38)
CIE-LCHlch(8.82, 42.79, 301.75°)
OKLaboklab(22.34% 0.0058 -0.1052)
OKLCHoklch(22.34% 0.105 273.1)
XYZxyz(1.6519, 0.9800, 6.7573)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F104B #4B4A0F
analogous
#0F2E4B #0F104B #2C0F4B
triadic
#0F104B #4B0F10 #104B0F
tetradic
#0F104B #4B0F2E #4B4A0F #0F4B2C
square
#0F104B #4B0F2E #4B4A0F #0F4B2C
split-complementary
#0F104B #4B2C0F #2E4B0F
monochromatic
#05051A #05051A #0F104B #191B7E #2326B1

Accessibility & contrast

On white

17.56
#0F104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F104B
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F104B#FFFFFF#000000##FFFFFF
##0F104B1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f104b;
/* rgb */ color: rgb(15, 16, 75);
/* oklch */ color: oklch(22.3% 0.105 273.1);
Tailwind
colors: {
  custom: {
    50: '#594e7e',
    500: '#0f104b',
    950: '#000000',
  },
}
SCSS
$custom: #0f104b;
$custom-light: #594e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f104b",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 239,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22344,
    "c": 0.1054,
    "h": 273.1
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F104B

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

Preview Lab → · Contrast checker → · Palette generator →

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