#0F0F3D#0F0F3D

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

Color values

HEX#0F0F3D
RGBrgb(15, 15, 61)
HSLhsl(240, 61%, 15%)
HSVhsv(240, 75%, 24%)
CMYKcmyk(75.4%, 75.4%, 0%, 76.1%)
CIE-LABlab(7.05, 17.41, -29.42)
CIE-LCHlch(7.05, 34.18, 300.62°)
OKLaboklab(20.56% 0.0087 -0.0851)
OKLCHoklch(20.56% 0.086 275.8)
XYZxyz(1.2099, 0.7800, 4.5008)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F3D #3D3D0F
analogous
#0F263D #0F0F3D #260F3D
triadic
#0F0F3D #3D0F0F #0F3D0F
tetradic
#0F0F3D #3D0F26 #3D3D0F #0F3D26
square
#0F0F3D #3D0F26 #3D3D0F #0F3D26
split-complementary
#0F0F3D #3D260F #263D0F
monochromatic
#060619 #060619 #0F0F3D #1B1B6E #27279F

Accessibility & contrast

On white

18.17
#0F0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0F3D
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F3D#FFFFFF#000000##FFFFFF
##0F0F3D1.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f0f3d;
/* rgb */ color: rgb(15, 15, 61);
/* oklch */ color: oklch(20.6% 0.086 275.8);
Tailwind
colors: {
  custom: {
    50: '#554d73',
    500: '#0f0f3d',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f3d;
$custom-light: #554d73;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f3d",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 240,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20559,
    "c": 0.08552,
    "h": 275.8
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#0F0F3D
secondary
#777730
accent
#E444E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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