#0F0F3C#0F0F3C

#0F0F3C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.084 H 276.0°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#0F0F3C
RGBrgb(15, 15, 60)
HSLhsl(240, 60%, 15%)
HSVhsv(240, 75%, 24%)
CMYKcmyk(75%, 75%, 0%, 76.5%)
CIE-LABlab(6.95, 16.96, -28.86)
CIE-LCHlch(6.95, 33.47, 300.45°)
OKLaboklab(20.45% 0.0088 -0.0835)
OKLCHoklch(20.45% 0.084 276)
XYZxyz(1.1832, 0.7693, 4.3602)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F3C #3C3C0F
analogous
#0F263C #0F0F3C #260F3C
triadic
#0F0F3C #3C0F0F #0F3C0F
tetradic
#0F0F3C #3C0F26 #3C3C0F #0F3C26
square
#0F0F3C #3C0F26 #3C3C0F #0F3C26
split-complementary
#0F0F3C #3C260F #263C0F
monochromatic
#060618 #060618 #0F0F3C #1B1B6D #27279E

Accessibility & contrast

On white

18.20
#0F0F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0F0F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F3C
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F3C#FFFFFF#000000##FFFFFF
##0F0F3C1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#00133B
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f0f3c;
/* rgb */ color: rgb(15, 15, 60);
/* oklch */ color: oklch(20.4% 0.084 276.0);
Tailwind
colors: {
  custom: {
    50: '#544d72',
    500: '#0f0f3c',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f3c;
$custom-light: #544d72;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f3c",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 240,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2045,
    "c": 0.08394,
    "h": 276
  },
  "luminance": 0.00769
}

Semantic roles & 50–950 ramp

primary
#0F0F3C
secondary
#767630
accent
#E345E3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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