#0F0E4C#0F0E4C

#0F0E4C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.1% C 0.109 H 273.6°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#0F0E4C
RGBrgb(15, 14, 76)
HSLhsl(241, 69%, 18%)
HSVhsv(241, 82%, 30%)
CMYKcmyk(80.3%, 81.6%, 0%, 70.2%)
CIE-LABlab(8.46, 24.25, -37.68)
CIE-LCHlch(8.46, 44.81, 302.77°)
OKLaboklab(22.12% 0.0068 -0.109)
OKLCHoklch(22.12% 0.109 273.6)
XYZxyz(1.6581, 0.9373, 6.9296)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E4C #4B4C0E
analogous
#0E2C4C #0F0E4C #2E0E4C
triadic
#0F0E4C #4C0F0E #0E4C0F
tetradic
#0F0E4C #4C0E2C #4B4C0E #0E4C2E
square
#0F0E4C #4C0E2C #4B4C0E #0E4C2E
split-complementary
#0F0E4C #4C2E0E #2C4C0E
monochromatic
#05051A #05051A #0F0E4C #191880 #2321B3

Accessibility & contrast

On white

17.69
#0F0E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F0E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0E4C
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E4C#FFFFFF#000000##FFFFFF
##0F0E4C1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4E
Deuteranopia (green-blind)
#00154B
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f0e4c;
/* rgb */ color: rgb(15, 14, 76);
/* oklch */ color: oklch(22.1% 0.109 273.6);
Tailwind
colors: {
  custom: {
    50: '#594d7f',
    500: '#0f0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e4c;
$custom-light: #594d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e4c",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 240.968,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22118,
    "c": 0.10922,
    "h": 273.6
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#0F0E4C
secondary
#85872F
accent
#EC3CE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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