#0F135D#0F135D

#0F135D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.0% C 0.127 H 270.4°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#0F135D
RGBrgb(15, 19, 93)
HSLhsl(237, 72%, 21%)
HSVhsv(237, 84%, 36%)
CMYKcmyk(83.9%, 79.6%, 0%, 63.5%)
CIE-LABlab(11.67, 27.52, -43.98)
CIE-LCHlch(11.67, 51.88, 302.04°)
OKLaboklab(25.01% 0.001 -0.1274)
OKLCHoklch(25.01% 0.127 270.4)
XYZxyz(2.4050, 1.3573, 10.4890)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F135D #5D590F
analogous
#0F3A5D #0F135D #320F5D
triadic
#0F135D #5D0F13 #135D0F
tetradic
#0F135D #5D0F3A #5D590F #0F5D32
square
#0F135D #5D0F3A #5D590F #0F5D32
split-complementary
#0F135D #5D320F #3A5D0F
monochromatic
#04051A #060828 #0F135D #171E92 #2029C6

Accessibility & contrast

On white

16.51
#0F135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F135D
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F135D#FFFFFF#000000##FFFFFF
##0F135D1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.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: #0f135d;
/* rgb */ color: rgb(15, 19, 93);
/* oklch */ color: oklch(25.0% 0.127 270.4);
Tailwind
colors: {
  custom: {
    50: '#5e518c',
    500: '#0f135d',
    950: '#000000',
  },
}
SCSS
$custom: #0f135d;
$custom-light: #5e518c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f135d",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 236.923,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25011,
    "c": 0.12736,
    "h": 270.4
  },
  "luminance": 0.01358
}

Semantic roles & 50–950 ramp

primary
#0F135D
secondary
#969131
accent
#E639EF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F135D

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

Preview Lab → · Contrast checker → · Palette generator →

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