#0F0E48#0F0E48

#0F0E48 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.103 H 274.2°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#0F0E48
RGBrgb(15, 14, 72)
HSLhsl(241, 67%, 17%)
HSVhsv(241, 81%, 28%)
CMYKcmyk(79.2%, 80.6%, 0%, 71.8%)
CIE-LABlab(7.98, 22.70, -35.68)
CIE-LCHlch(7.98, 42.29, 302.47°)
OKLaboklab(21.64% 0.0076 -0.1032)
OKLCHoklch(21.64% 0.103 274.2)
XYZxyz(1.5233, 0.8834, 6.2199)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E48 #47480E
analogous
#0E2A48 #0F0E48 #2C0E48
triadic
#0F0E48 #480F0E #0E480F
tetradic
#0F0E48 #480E2A #47480E #0E482C
square
#0F0E48 #480E2A #47480E #0E482C
split-complementary
#0F0E48 #482C0E #2A480E
monochromatic
#05051A #05051A #0F0E48 #1A187B #2422AE

Accessibility & contrast

On white

17.85
#0F0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0F0E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0E48
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E48#FFFFFF#000000##FFFFFF
##0F0E481.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4A
Deuteranopia (green-blind)
#001547
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f0e48;
/* rgb */ color: rgb(15, 14, 72);
/* oklch */ color: oklch(21.6% 0.103 274.2);
Tailwind
colors: {
  custom: {
    50: '#584d7c',
    500: '#0f0e48',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e48;
$custom-light: #584d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e48",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 241.034,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.21635,
    "c": 0.10346,
    "h": 274.2
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#0F0E48
secondary
#81832F
accent
#EA3DE7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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