#0F145A#0F145A

#0F145A is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.122 H 270.5°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#0F145A
RGBrgb(15, 20, 90)
HSLhsl(236, 71%, 21%)
HSVhsv(236, 83%, 35%)
CMYKcmyk(83.3%, 77.8%, 0%, 64.7%)
CIE-LABlab(11.55, 25.70, -42.15)
CIE-LCHlch(11.55, 49.37, 301.37°)
OKLaboklab(24.82% 0.001 -0.1221)
OKLCHoklch(24.82% 0.122 270.5)
XYZxyz(2.2920, 1.3398, 9.8087)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F145A #5A550F
analogous
#0F395A #0F145A #2F0F5A
triadic
#0F145A #5A0F14 #145A0F
tetradic
#0F145A #5A0F39 #5A550F #0F5A2F
square
#0F145A #5A0F39 #5A550F #0F5A2F
split-complementary
#0F145A #5A2F0F #395A0F
monochromatic
#04061A #060826 #0F145A #18208E #202BC3

Accessibility & contrast

On white

16.56
#0F145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0F145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F145A
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F145A#FFFFFF#000000##FFFFFF
##0F145A1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001B59
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f145a;
/* rgb */ color: rgb(15, 20, 90);
/* oklch */ color: oklch(24.8% 0.122 270.5);
Tailwind
colors: {
  custom: {
    50: '#5d528a',
    500: '#0f145a',
    950: '#000000',
  },
}
SCSS
$custom: #0f145a;
$custom-light: #5d528a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f145a",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 236,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2482,
    "c": 0.12207,
    "h": 270.5
  },
  "luminance": 0.0134
}

Semantic roles & 50–950 ramp

primary
#0F145A
secondary
#948D31
accent
#E23AEE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F145A

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

Preview Lab → · Contrast checker → · Palette generator →

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