#0F145C#0F145C

#0F145C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.1% C 0.125 H 270.3°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#0F145C
RGBrgb(15, 20, 92)
HSLhsl(236, 72%, 21%)
HSVhsv(236, 84%, 36%)
CMYKcmyk(83.7%, 78.3%, 0%, 63.9%)
CIE-LABlab(11.79, 26.48, -43.11)
CIE-LCHlch(11.79, 50.60, 301.56°)
OKLaboklab(25.06% 0.0007 -0.1249)
OKLCHoklch(25.06% 0.125 270.3)
XYZxyz(2.3783, 1.3743, 10.2631)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F145C #5C570F
analogous
#0F3A5C #0F145C #300F5C
triadic
#0F145C #5C0F14 #145C0F
tetradic
#0F145C #5C0F3A #5C570F #0F5C30
square
#0F145C #5C0F3A #5C570F #0F5C30
split-complementary
#0F145C #5C300F #3A5C0F
monochromatic
#04061A #060927 #0F145C #181F91 #202BC5

Accessibility & contrast

On white

16.47
#0F145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F145C
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F145C#FFFFFF#000000##FFFFFF
##0F145C1.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001B5B
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f145c;
/* rgb */ color: rgb(15, 20, 92);
/* oklch */ color: oklch(25.1% 0.125 270.3);
Tailwind
colors: {
  custom: {
    50: '#5d528b',
    500: '#0f145c',
    950: '#000000',
  },
}
SCSS
$custom: #0f145c;
$custom-light: #5d528b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f145c",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 236.104,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25058,
    "c": 0.12486,
    "h": 270.3
  },
  "luminance": 0.01375
}

Semantic roles & 50–950 ramp

primary
#0F145C
secondary
#958F31
accent
#E339EF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F145C

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

Preview Lab → · Contrast checker → · Palette generator →

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