#0F102F#0F102F

#0F102F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.4% C 0.061 H 277.7°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#0F102F
RGBrgb(15, 16, 47)
HSLhsl(238, 52%, 12%)
HSVhsv(238, 68%, 18%)
CMYKcmyk(68.1%, 66%, 0%, 81.6%)
CIE-LABlab(6.12, 10.26, -20.70)
CIE-LCHlch(6.12, 23.10, 296.35°)
OKLaboklab(19.36% 0.0081 -0.0601)
OKLCHoklch(19.36% 0.061 277.7)
XYZxyz(0.8952, 0.6773, 2.7723)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F102F #2F2E0F
analogous
#0F202F #0F102F #1E0F2F
triadic
#0F102F #2F0F10 #102F0F
tetradic
#0F102F #2F0F20 #2F2E0F #0F2F1E
square
#0F102F #2F0F20 #2F2E0F #0F2F1E
split-complementary
#0F102F #2F1E0F #202F0F
monochromatic
#070817 #070817 #0F102F #1E205D #2D308C

Accessibility & contrast

On white

18.50
#0F102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0F102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F102F
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F102F#FFFFFF#000000##FFFFFF
##0F102F1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#02171D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f102f;
/* rgb */ color: rgb(15, 16, 47);
/* oklch */ color: oklch(19.4% 0.061 277.7);
Tailwind
colors: {
  custom: {
    50: '#504e68',
    500: '#0f102f',
    950: '#000000',
  },
}
SCSS
$custom: #0f102f;
$custom-light: #504e68;
$custom-dark: #000000;
JSON
{
  "hex": "#0f102f",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 238.125,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19356,
    "c": 0.06068,
    "h": 277.7
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#0F102F
secondary
#696731
accent
#D74DDB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F102F

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

Preview Lab → · Contrast checker → · Palette generator →

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