#0F0C3E#0F0C3E

#0F0C3E is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.091 H 277.0°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#0F0C3E
RGBrgb(15, 12, 62)
HSLhsl(244, 68%, 15%)
HSVhsv(244, 81%, 24%)
CMYKcmyk(75.8%, 80.6%, 0%, 75.7%)
CIE-LABlab(6.43, 19.66, -31.13)
CIE-LCHlch(6.43, 36.82, 302.27°)
OKLaboklab(20.1% 0.0111 -0.0905)
OKLCHoklch(20.1% 0.091 277)
XYZxyz(1.1977, 0.7122, 4.6308)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0C3E #3B3E0C
analogous
#0C223E #0F0C3E #280C3E
triadic
#0F0C3E #3E0F0C #0C3E0F
tetradic
#0F0C3E #3E0C22 #3B3E0C #0C3E28
square
#0F0C3E #3E0C22 #3B3E0C #0C3E28
split-complementary
#0F0C3E #3E280C #223E0C
monochromatic
#06051A #06051A #0F0C3E #1B1671 #2820A5

Accessibility & contrast

On white

18.38
#0F0C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0C3E
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0C3E#FFFFFF#000000##FFFFFF
##0F0C3E1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163F
Deuteranopia (green-blind)
#00123D
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0c3e;
/* rgb */ color: rgb(15, 12, 62);
/* oklch */ color: oklch(20.1% 0.091 277.0);
Tailwind
colors: {
  custom: {
    50: '#554b74',
    500: '#0f0c3e',
    950: '#000000',
  },
}
SCSS
$custom: #0f0c3e;
$custom-light: #554b74;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0c3e",
  "rgb": {
    "r": 15,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 243.6,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20097,
    "c": 0.09116,
    "h": 277
  },
  "luminance": 0.00712
}

Semantic roles & 50–950 ramp

primary
#0F0C3E
secondary
#757A2C
accent
#EA3DE0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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