#0F146A#0F146A

#0F146A is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.8% C 0.144 H 269.3°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#0F146A
RGBrgb(15, 20, 106)
HSLhsl(237, 75%, 24%)
HSVhsv(237, 86%, 42%)
CMYKcmyk(85.8%, 81.1%, 0%, 58.4%)
CIE-LABlab(13.48, 31.76, -49.60)
CIE-LCHlch(13.48, 58.90, 302.63°)
OKLaboklab(26.76% -0.0017 -0.1437)
OKLCHoklch(26.76% 0.144 269.3)
XYZxyz(3.0478, 1.6421, 13.7892)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F146A #6A650F
analogous
#0F416A #0F146A #370F6A
triadic
#0F146A #6A0F14 #146A0F
tetradic
#0F146A #6A0F41 #6A650F #0F6A37
square
#0F146A #6A0F41 #6A650F #0F6A37
split-complementary
#0F146A #6A370F #416A0F
monochromatic
#04051B #070A34 #0F146A #171EA0 #1E28D5

Accessibility & contrast

On white

15.81
#0F146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F146A
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F146A#FFFFFF#000000##FFFFFF
##0F146A1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#001E69
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f146a;
/* rgb */ color: rgb(15, 20, 106);
/* oklch */ color: oklch(26.8% 0.144 269.3);
Tailwind
colors: {
  custom: {
    50: '#625396',
    500: '#0f146a',
    950: '#000000',
  },
}
SCSS
$custom: #0f146a;
$custom-light: #625396;
$custom-dark: #000000;
JSON
{
  "hex": "#0f146a",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 236.703,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26764,
    "c": 0.14371,
    "h": 269.3
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#0F146A
secondary
#A29C32
accent
#E736F2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F146A

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

Preview Lab → · Contrast checker → · Palette generator →

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