#0F1340#0F1340

#0F1340 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.085 H 273.2°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#0F1340
RGBrgb(15, 19, 64)
HSLhsl(235, 62%, 15%)
HSVhsv(235, 77%, 25%)
CMYKcmyk(76.6%, 70.3%, 0%, 74.9%)
CIE-LABlab(8.46, 15.82, -29.25)
CIE-LCHlch(8.46, 33.26, 298.40°)
OKLaboklab(21.72% 0.0047 -0.0844)
OKLCHoklch(21.72% 0.085 273.2)
XYZxyz(1.3550, 0.9373, 4.9590)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1340 #403C0F
analogous
#0F2B40 #0F1340 #230F40
triadic
#0F1340 #400F13 #13400F
tetradic
#0F1340 #400F2B #403C0F #0F4023
square
#0F1340 #400F2B #403C0F #0F4023
split-complementary
#0F1340 #40230F #2B400F
monochromatic
#060719 #060719 #0F1340 #1B2272 #2630A3

Accessibility & contrast

On white

17.69
#0F1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1340
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1340#FFFFFF#000000##FFFFFF
##0F13401.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f1340;
/* rgb */ color: rgb(15, 19, 64);
/* oklch */ color: oklch(21.7% 0.085 273.2);
Tailwind
colors: {
  custom: {
    50: '#555075',
    500: '#0f1340',
    950: '#000000',
  },
}
SCSS
$custom: #0f1340;
$custom-light: #555075;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1340",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 235.102,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21718,
    "c": 0.0845,
    "h": 273.2
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#0F1340
secondary
#7A7430
accent
#D843E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F1340

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

Preview Lab → · Contrast checker → · Palette generator →

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