#0F1041#0F1041

#0F1041 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.090 H 274.6°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#0F1041
RGBrgb(15, 16, 65)
HSLhsl(239, 63%, 16%)
HSVhsv(239, 77%, 25%)
CMYKcmyk(76.9%, 75.4%, 0%, 74.5%)
CIE-LABlab(7.71, 18.47, -31.19)
CIE-LCHlch(7.71, 36.24, 300.63°)
OKLaboklab(21.2% 0.0073 -0.0901)
OKLCHoklch(21.2% 0.09 274.6)
XYZxyz(1.3361, 0.8537, 5.0944)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1041 #41400F
analogous
#0F2941 #0F1041 #270F41
triadic
#0F1041 #410F10 #10410F
tetradic
#0F1041 #410F29 #41400F #0F4127
square
#0F1041 #410F29 #41400F #0F4127
split-complementary
#0F1041 #41270F #29410F
monochromatic
#060619 #060619 #0F1041 #1A1C73 #2628A4

Accessibility & contrast

On white

17.94
#0F1041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1041
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1041#FFFFFF#000000##FFFFFF
##0F10411.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f1041;
/* rgb */ color: rgb(15, 16, 65);
/* oklch */ color: oklch(21.2% 0.090 274.6);
Tailwind
colors: {
  custom: {
    50: '#564e76',
    500: '#0f1041',
    950: '#000000',
  },
}
SCSS
$custom: #0f1041;
$custom-light: #564e76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1041",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 238.8,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21201,
    "c": 0.09037,
    "h": 274.6
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#0F1041
secondary
#7B7A30
accent
#E242E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F1041

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

Preview Lab → · Contrast checker → · Palette generator →

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