#0F103F#0F103F

#0F103F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.087 H 275.0°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#0F103F
RGBrgb(15, 16, 63)
HSLhsl(239, 62%, 15%)
HSVhsv(239, 76%, 25%)
CMYKcmyk(76.2%, 74.6%, 0%, 75.3%)
CIE-LABlab(7.51, 17.62, -30.10)
CIE-LCHlch(7.51, 34.88, 300.34°)
OKLaboklab(20.98% 0.0075 -0.0869)
OKLCHoklch(20.98% 0.087 275)
XYZxyz(1.2792, 0.8309, 4.7946)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F103F #3F3E0F
analogous
#0F283F #0F103F #260F3F
triadic
#0F103F #3F0F10 #103F0F
tetradic
#0F103F #3F0F28 #3F3E0F #0F3F26
square
#0F103F #3F0F28 #3F3E0F #0F3F26
split-complementary
#0F103F #3F260F #283F0F
monochromatic
#060619 #060619 #0F103F #1B1D70 #2729A2

Accessibility & contrast

On white

18.01
#0F103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0F103F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F103F
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F103F#FFFFFF#000000##FFFFFF
##0F103F1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f103f;
/* rgb */ color: rgb(15, 16, 63);
/* oklch */ color: oklch(21.0% 0.087 275.0);
Tailwind
colors: {
  custom: {
    50: '#554e75',
    500: '#0f103f',
    950: '#000000',
  },
}
SCSS
$custom: #0f103f;
$custom-light: #554e75;
$custom-dark: #000000;
JSON
{
  "hex": "#0f103f",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 238.75,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20981,
    "c": 0.08725,
    "h": 275
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#0F103F
secondary
#797830
accent
#E143E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F103F

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

Preview Lab → · Contrast checker → · Palette generator →

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