#0F103B#0F103B

#0F103B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.081 H 275.6°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#0F103B
RGBrgb(15, 16, 59)
HSLhsl(239, 59%, 15%)
HSVhsv(239, 75%, 23%)
CMYKcmyk(74.6%, 72.9%, 0%, 76.9%)
CIE-LABlab(7.12, 15.86, -27.87)
CIE-LCHlch(7.12, 32.06, 299.64°)
OKLaboklab(20.55% 0.0079 -0.0805)
OKLCHoklch(20.55% 0.081 275.6)
XYZxyz(1.1715, 0.7878, 4.2272)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F103B #3B3A0F
analogous
#0F263B #0F103B #240F3B
triadic
#0F103B #3B0F10 #103B0F
tetradic
#0F103B #3B0F26 #3B3A0F #0F3B24
square
#0F103B #3B0F26 #3B3A0F #0F3B24
split-complementary
#0F103B #3B240F #263B0F
monochromatic
#060718 #060718 #0F103B #1B1D6C #282A9D

Accessibility & contrast

On white

18.14
#0F103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F103B
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F103B#FFFFFF#000000##FFFFFF
##0F103B1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f103b;
/* rgb */ color: rgb(15, 16, 59);
/* oklch */ color: oklch(20.6% 0.081 275.6);
Tailwind
colors: {
  custom: {
    50: '#544e71',
    500: '#0f103b',
    950: '#000000',
  },
}
SCSS
$custom: #0f103b;
$custom-light: #544e71;
$custom-dark: #000000;
JSON
{
  "hex": "#0f103b",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 238.636,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20551,
    "c": 0.08088,
    "h": 275.6
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#0F103B
secondary
#757430
accent
#DF45E3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #0F103B

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

Preview Lab → · Contrast checker → · Palette generator →

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