#0F0C3D#0F0C3D

#0F0C3D is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.090 H 277.2°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#0F0C3D
RGBrgb(15, 12, 61)
HSLhsl(244, 67%, 14%)
HSVhsv(244, 80%, 24%)
CMYKcmyk(75.4%, 80.3%, 0%, 76.1%)
CIE-LABlab(6.33, 19.19, -30.58)
CIE-LCHlch(6.33, 36.10, 302.12°)
OKLaboklab(19.98% 0.0113 -0.0889)
OKLCHoklch(19.98% 0.09 277.2)
XYZxyz(1.1705, 0.7013, 4.4877)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0C3D #3A3D0C
analogous
#0C223D #0F0C3D #280C3D
triadic
#0F0C3D #3D0F0C #0C3D0F
tetradic
#0F0C3D #3D0C22 #3A3D0C #0C3D28
square
#0F0C3D #3D0C22 #3A3D0C #0C3D28
split-complementary
#0F0C3D #3D280C #223D0C
monochromatic
#06051A #06051A #0F0C3D #1C1670 #2820A3

Accessibility & contrast

On white

18.42
#0F0C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0F0C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0C3D
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0C3D#FFFFFF#000000##FFFFFF
##0F0C3D1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00123C
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0c3d;
/* rgb */ color: rgb(15, 12, 61);
/* oklch */ color: oklch(20.0% 0.090 277.2);
Tailwind
colors: {
  custom: {
    50: '#554b73',
    500: '#0f0c3d',
    950: '#000000',
  },
}
SCSS
$custom: #0f0c3d;
$custom-light: #554b73;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0c3d",
  "rgb": {
    "r": 15,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 243.673,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19981,
    "c": 0.08965,
    "h": 277.2
  },
  "luminance": 0.00701
}

Semantic roles & 50–950 ramp

primary
#0F0C3D
secondary
#74792C
accent
#EA3EDF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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