#0F103E#0F103E

#0F103E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.086 H 275.1°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#0F103E
RGBrgb(15, 16, 62)
HSLhsl(239, 61%, 15%)
HSVhsv(239, 76%, 24%)
CMYKcmyk(75.8%, 74.2%, 0%, 75.7%)
CIE-LABlab(7.41, 17.18, -29.55)
CIE-LCHlch(7.41, 34.18, 300.18°)
OKLaboklab(20.87% 0.0076 -0.0853)
OKLCHoklch(20.87% 0.086 275.1)
XYZxyz(1.2515, 0.8198, 4.6488)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F103E #3E3D0F
analogous
#0F283E #0F103E #250F3E
triadic
#0F103E #3E0F10 #103E0F
tetradic
#0F103E #3E0F28 #3E3D0F #0F3E25
square
#0F103E #3E0F28 #3E3D0F #0F3E25
split-complementary
#0F103E #3E250F #283E0F
monochromatic
#060619 #060619 #0F103E #1B1D6F #2729A1

Accessibility & contrast

On white

18.04
#0F103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F103E
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F103E#FFFFFF#000000##FFFFFF
##0F103E1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f103e;
/* rgb */ color: rgb(15, 16, 62);
/* oklch */ color: oklch(20.9% 0.086 275.1);
Tailwind
colors: {
  custom: {
    50: '#554e74',
    500: '#0f103e',
    950: '#000000',
  },
}
SCSS
$custom: #0f103e;
$custom-light: #554e74;
$custom-dark: #000000;
JSON
{
  "hex": "#0f103e",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 238.723,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20872,
    "c": 0.08567,
    "h": 275.1
  },
  "luminance": 0.0082
}

Semantic roles & 50–950 ramp

primary
#0F103E
secondary
#787730
accent
#E144E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F103E

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

Preview Lab → · Contrast checker → · Palette generator →

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