#0F0D3E#0F0D3E

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

Color values

HEX#0F0D3E
RGBrgb(15, 13, 62)
HSLhsl(242, 65%, 15%)
HSVhsv(242, 79%, 24%)
CMYKcmyk(75.8%, 79%, 0%, 75.7%)
CIE-LABlab(6.66, 19.09, -30.77)
CIE-LCHlch(6.66, 36.21, 301.81°)
OKLaboklab(20.28% 0.0103 -0.0892)
OKLCHoklch(20.28% 0.09 276.6)
XYZxyz(1.2101, 0.7371, 4.6350)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D3E #3C3E0D
analogous
#0D243E #0F0D3E #280D3E
triadic
#0F0D3E #3E0F0D #0D3E0F
tetradic
#0F0D3E #3E0D24 #3C3E0D #0D3E28
square
#0F0D3E #3E0D24 #3C3E0D #0D3E28
split-complementary
#0F0D3E #3E280D #243E0D
monochromatic
#060519 #060519 #0F0D3E #1B1871 #2722A3

Accessibility & contrast

On white

18.30
#0F0D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0D3E
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D3E#FFFFFF#000000##FFFFFF
##0F0D3E1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0d3e;
/* rgb */ color: rgb(15, 13, 62);
/* oklch */ color: oklch(20.3% 0.090 276.6);
Tailwind
colors: {
  custom: {
    50: '#554c74',
    500: '#0f0d3e',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d3e;
$custom-light: #554c74;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d3e",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 242.449,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20282,
    "c": 0.08984,
    "h": 276.6
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#0F0D3E
secondary
#767A2D
accent
#E840E1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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