#0F165E#0F165E

#0F165E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.6% C 0.125 H 269.8°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#0F165E
RGBrgb(15, 22, 94)
HSLhsl(235, 72%, 21%)
HSVhsv(235, 84%, 37%)
CMYKcmyk(84%, 76.6%, 0%, 63.1%)
CIE-LABlab(12.50, 25.92, -43.27)
CIE-LCHlch(12.50, 50.44, 300.92°)
OKLaboklab(25.64% -0.0005 -0.1253)
OKLCHoklch(25.64% 0.125 269.8)
XYZxyz(2.5036, 1.4832, 10.7419)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F165E #5E570F
analogous
#0F3E5E #0F165E #300F5E
triadic
#0F165E #5E0F16 #165E0F
tetradic
#0F165E #5E0F3E #5E570F #0F5E30
square
#0F165E #5E0F3E #5E570F #0F5E30
split-complementary
#0F165E #5E300F #3E5E0F
monochromatic
#04061A #070A29 #0F165E #172293 #202FC8

Accessibility & contrast

On white

16.19
#0F165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F165E
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F165E#FFFFFF#000000##FFFFFF
##0F165E1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f165e;
/* rgb */ color: rgb(15, 22, 94);
/* oklch */ color: oklch(25.6% 0.125 269.8);
Tailwind
colors: {
  custom: {
    50: '#5e538d',
    500: '#0f165e',
    950: '#000000',
  },
}
SCSS
$custom: #0f165e;
$custom-light: #5e538d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f165e",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 234.684,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2564,
    "c": 0.12533,
    "h": 269.8
  },
  "luminance": 0.01484
}

Semantic roles & 50–950 ramp

primary
#0F165E
secondary
#978E31
accent
#DF39EF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F165E

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

Preview Lab → · Contrast checker → · Palette generator →

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