#0F145F#0F145F

#0F145F is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.129 H 270.1°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#0F145F
RGBrgb(15, 20, 95)
HSLhsl(236, 73%, 22%)
HSVhsv(236, 84%, 37%)
CMYKcmyk(84.2%, 78.9%, 0%, 62.7%)
CIE-LABlab(12.14, 27.64, -44.54)
CIE-LCHlch(12.14, 52.41, 301.82°)
OKLaboklab(25.42% 0.0002 -0.129)
OKLCHoklch(25.42% 0.129 270.1)
XYZxyz(2.5120, 1.4278, 10.9675)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F145F #5F5A0F
analogous
#0F3C5F #0F145F #320F5F
triadic
#0F145F #5F0F14 #145F0F
tetradic
#0F145F #5F0F3C #5F5A0F #0F5F32
square
#0F145F #5F0F3C #5F5A0F #0F5F32
split-complementary
#0F145F #5F320F #3C5F0F
monochromatic
#04061A #07092A #0F145F #171F94 #202AC9

Accessibility & contrast

On white

16.33
#0F145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F145F
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F145F#FFFFFF#000000##FFFFFF
##0F145F1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001C5E
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f145f;
/* rgb */ color: rgb(15, 20, 95);
/* oklch */ color: oklch(25.4% 0.129 270.1);
Tailwind
colors: {
  custom: {
    50: '#5e528d',
    500: '#0f145f',
    950: '#000000',
  },
}
SCSS
$custom: #0f145f;
$custom-light: #5e528d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f145f",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 236.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25417,
    "c": 0.129,
    "h": 270.1
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#0F145F
secondary
#989232
accent
#E438EF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F145F

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

Preview Lab → · Contrast checker → · Palette generator →

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