#0F104E#0F104E

#0F104E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.110 H 272.7°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#0F104E
RGBrgb(15, 16, 78)
HSLhsl(239, 68%, 18%)
HSVhsv(239, 81%, 31%)
CMYKcmyk(80.8%, 79.5%, 0%, 69.4%)
CIE-LABlab(9.17, 23.70, -37.89)
CIE-LCHlch(9.17, 44.69, 302.03°)
OKLaboklab(22.7% 0.0052 -0.1096)
OKLCHoklch(22.7% 0.11 272.7)
XYZxyz(1.7570, 1.0220, 7.3109)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F104E #4E4D0F
analogous
#0F2F4E #0F104E #2D0F4E
triadic
#0F104E #4E0F10 #104E0F
tetradic
#0F104E #4E0F2F #4E4D0F #0F4E2D
square
#0F104E #4E0F2F #4E4D0F #0F4E2D
split-complementary
#0F104E #4E2D0F #2F4E0F
monochromatic
#05051A #05051B #0F104E #191B81 #2325B5

Accessibility & contrast

On white

17.44
#0F104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F104E
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F104E#FFFFFF#000000##FFFFFF
##0F104E1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f104e;
/* rgb */ color: rgb(15, 16, 78);
/* oklch */ color: oklch(22.7% 0.110 272.7);
Tailwind
colors: {
  custom: {
    50: '#5a4e80',
    500: '#0f104e',
    950: '#000000',
  },
}
SCSS
$custom: #0f104e;
$custom-light: #5a4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#0f104e",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 239.048,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.227,
    "c": 0.10975,
    "h": 272.7
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#0F104E
secondary
#888731
accent
#E83DEB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F104E

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

Preview Lab → · Contrast checker → · Palette generator →

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