#0F135C#0F135C

#0F135C is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.9% C 0.126 H 270.5°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#0F135C
RGBrgb(15, 19, 92)
HSLhsl(237, 72%, 21%)
HSVhsv(237, 84%, 36%)
CMYKcmyk(83.7%, 79.3%, 0%, 63.9%)
CIE-LABlab(11.55, 27.14, -43.50)
CIE-LCHlch(11.55, 51.27, 301.96°)
OKLaboklab(24.89% 0.0012 -0.126)
OKLCHoklch(24.89% 0.126 270.5)
XYZxyz(2.3610, 1.3397, 10.2573)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F135C #5C580F
analogous
#0F395C #0F135C #310F5C
triadic
#0F135C #5C0F13 #135C0F
tetradic
#0F135C #5C0F39 #5C580F #0F5C31
square
#0F135C #5C0F39 #5C580F #0F5C31
split-complementary
#0F135C #5C310F #395C0F
monochromatic
#04051A #060827 #0F135C #181E91 #2029C5

Accessibility & contrast

On white

16.56
#0F135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F135C
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F135C#FFFFFF#000000##FFFFFF
##0F135C1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f135c;
/* rgb */ color: rgb(15, 19, 92);
/* oklch */ color: oklch(24.9% 0.126 270.5);
Tailwind
colors: {
  custom: {
    50: '#5d518b',
    500: '#0f135c',
    950: '#000000',
  },
}
SCSS
$custom: #0f135c;
$custom-light: #5d518b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f135c",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 236.883,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2489,
    "c": 0.12599,
    "h": 270.5
  },
  "luminance": 0.0134
}

Semantic roles & 50–950 ramp

primary
#0F135C
secondary
#959031
accent
#E539EF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F135C

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

Preview Lab → · Contrast checker → · Palette generator →

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