#0F103C#0F103C

#0F103C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.082 H 275.4°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#0F103C
RGBrgb(15, 16, 60)
HSLhsl(239, 60%, 15%)
HSVhsv(239, 75%, 24%)
CMYKcmyk(75%, 73.3%, 0%, 76.5%)
CIE-LABlab(7.21, 16.30, -28.43)
CIE-LCHlch(7.21, 32.77, 299.83°)
OKLaboklab(20.66% 0.0078 -0.0821)
OKLCHoklch(20.66% 0.082 275.4)
XYZxyz(1.1976, 0.7983, 4.3651)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F103C #3C3B0F
analogous
#0F273C #0F103C #250F3C
triadic
#0F103C #3C0F10 #103C0F
tetradic
#0F103C #3C0F27 #3C3B0F #0F3C25
square
#0F103C #3C0F27 #3C3B0F #0F3C25
split-complementary
#0F103C #3C250F #273C0F
monochromatic
#060718 #060718 #0F103C #1B1D6D #272A9E

Accessibility & contrast

On white

18.11
#0F103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F103C
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F103C#FFFFFF#000000##FFFFFF
##0F103C1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#00143B
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f103c;
/* rgb */ color: rgb(15, 16, 60);
/* oklch */ color: oklch(20.7% 0.082 275.4);
Tailwind
colors: {
  custom: {
    50: '#544e72',
    500: '#0f103c',
    950: '#000000',
  },
}
SCSS
$custom: #0f103c;
$custom-light: #544e72;
$custom-dark: #000000;
JSON
{
  "hex": "#0f103c",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 238.667,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20657,
    "c": 0.08249,
    "h": 275.4
  },
  "luminance": 0.00798
}

Semantic roles & 50–950 ramp

primary
#0F103C
secondary
#767530
accent
#E045E3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #0F103C

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

Preview Lab → · Contrast checker → · Palette generator →

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