#0F103D#0F103D

#0F103D is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.084 H 275.3°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#0F103D
RGBrgb(15, 16, 61)
HSLhsl(239, 61%, 15%)
HSVhsv(239, 75%, 24%)
CMYKcmyk(75.4%, 73.8%, 0%, 76.1%)
CIE-LABlab(7.31, 16.74, -28.99)
CIE-LCHlch(7.31, 33.48, 300.01°)
OKLaboklab(20.76% 0.0077 -0.0837)
OKLCHoklch(20.76% 0.084 275.3)
XYZxyz(1.2243, 0.8090, 4.5056)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F103D #3D3C0F
analogous
#0F273D #0F103D #250F3D
triadic
#0F103D #3D0F10 #103D0F
tetradic
#0F103D #3D0F27 #3D3C0F #0F3D25
square
#0F103D #3D0F27 #3D3C0F #0F3D25
split-complementary
#0F103D #3D250F #273D0F
monochromatic
#060619 #060619 #0F103D #1B1D6E #272A9F

Accessibility & contrast

On white

18.08
#0F103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F103D
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F103D#FFFFFF#000000##FFFFFF
##0F103D1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f103d;
/* rgb */ color: rgb(15, 16, 61);
/* oklch */ color: oklch(20.8% 0.084 275.3);
Tailwind
colors: {
  custom: {
    50: '#554e73',
    500: '#0f103d',
    950: '#000000',
  },
}
SCSS
$custom: #0f103d;
$custom-light: #554e73;
$custom-dark: #000000;
JSON
{
  "hex": "#0f103d",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 238.696,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20764,
    "c": 0.08409,
    "h": 275.3
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#0F103D
secondary
#777630
accent
#E044E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F103D

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

Preview Lab → · Contrast checker → · Palette generator →

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