#0F145D#0F145D

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

Color values

HEX#0F145D
RGBrgb(15, 20, 93)
HSLhsl(236, 72%, 21%)
HSVhsv(236, 84%, 36%)
CMYKcmyk(83.9%, 78.5%, 0%, 63.5%)
CIE-LABlab(11.90, 26.87, -43.59)
CIE-LCHlch(11.90, 51.20, 301.65°)
OKLaboklab(25.18% 0.0006 -0.1262)
OKLCHoklch(25.18% 0.126 270.3)
XYZxyz(2.4223, 1.3919, 10.4948)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F145D #5D580F
analogous
#0F3B5D #0F145D #310F5D
triadic
#0F145D #5D0F14 #145D0F
tetradic
#0F145D #5D0F3B #5D580F #0F5D31
square
#0F145D #5D0F3B #5D580F #0F5D31
split-complementary
#0F145D #5D310F #3B5D0F
monochromatic
#04061A #060928 #0F145D #171F92 #202BC6

Accessibility & contrast

On white

16.43
#0F145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0F145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F145D
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F145D#FFFFFF#000000##FFFFFF
##0F145D1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001B5C
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f145d;
/* rgb */ color: rgb(15, 20, 93);
/* oklch */ color: oklch(25.2% 0.126 270.3);
Tailwind
colors: {
  custom: {
    50: '#5e528c',
    500: '#0f145d',
    950: '#000000',
  },
}
SCSS
$custom: #0f145d;
$custom-light: #5e528c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f145d",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 236.154,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25177,
    "c": 0.12624,
    "h": 270.3
  },
  "luminance": 0.01392
}

Semantic roles & 50–950 ramp

primary
#0F145D
secondary
#969031
accent
#E339EF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F145D

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

Preview Lab → · Contrast checker → · Palette generator →

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