#0F103A#0F103A

#0F103A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.079 H 275.8°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#0F103A
RGBrgb(15, 16, 58)
HSLhsl(239, 59%, 14%)
HSVhsv(239, 74%, 23%)
CMYKcmyk(74.1%, 72.4%, 0%, 77.3%)
CIE-LABlab(7.02, 15.41, -27.30)
CIE-LCHlch(7.02, 31.35, 299.44°)
OKLaboklab(20.45% 0.008 -0.0789)
OKLCHoklch(20.45% 0.079 275.8)
XYZxyz(1.1458, 0.7775, 4.0919)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F103A #3A390F
analogous
#0F263A #0F103A #240F3A
triadic
#0F103A #3A0F10 #103A0F
tetradic
#0F103A #3A0F26 #3A390F #0F3A24
square
#0F103A #3A0F26 #3A390F #0F3A24
split-complementary
#0F103A #3A240F #263A0F
monochromatic
#060718 #060718 #0F103A #1C1D6B #282B9B

Accessibility & contrast

On white

18.17
#0F103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F103A
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F103A#FFFFFF#000000##FFFFFF
##0F103A1.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f103a;
/* rgb */ color: rgb(15, 16, 58);
/* oklch */ color: oklch(20.4% 0.079 275.8);
Tailwind
colors: {
  custom: {
    50: '#544e71',
    500: '#0f103a',
    950: '#000000',
  },
}
SCSS
$custom: #0f103a;
$custom-light: #544e71;
$custom-dark: #000000;
JSON
{
  "hex": "#0f103a",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 238.605,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20446,
    "c": 0.07926,
    "h": 275.8
  },
  "luminance": 0.00778
}

Semantic roles & 50–950 ramp

primary
#0F103A
secondary
#747330
accent
#DE46E2
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0F103A

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

Preview Lab → · Contrast checker → · Palette generator →

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