#0F165F#0F165F

#0F165F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.127 H 269.7°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#0F165F
RGBrgb(15, 22, 95)
HSLhsl(235, 73%, 22%)
HSVhsv(235, 84%, 37%)
CMYKcmyk(84.2%, 76.8%, 0%, 62.7%)
CIE-LABlab(12.62, 26.31, -43.75)
CIE-LCHlch(12.62, 51.06, 301.02°)
OKLaboklab(25.76% -0.0007 -0.1267)
OKLCHoklch(25.76% 0.127 269.7)
XYZxyz(2.5488, 1.5013, 10.9797)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F165F #5F580F
analogous
#0F3E5F #0F165F #300F5F
triadic
#0F165F #5F0F16 #165F0F
tetradic
#0F165F #5F0F3E #5F580F #0F5F30
square
#0F165F #5F0F3E #5F580F #0F5F30
split-complementary
#0F165F #5F300F #3E5F0F
monochromatic
#04061A #070A2A #0F165F #172294 #202EC9

Accessibility & contrast

On white

16.15
#0F165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F165F
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F165F#FFFFFF#000000##FFFFFF
##0F165F1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f165f;
/* rgb */ color: rgb(15, 22, 95);
/* oklch */ color: oklch(25.8% 0.127 269.7);
Tailwind
colors: {
  custom: {
    50: '#5e538d',
    500: '#0f165f',
    950: '#000000',
  },
}
SCSS
$custom: #0f165f;
$custom-light: #5e538d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f165f",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 234.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25757,
    "c": 0.12673,
    "h": 269.7
  },
  "luminance": 0.01502
}

Semantic roles & 50–950 ramp

primary
#0F165F
secondary
#988F32
accent
#DF38EF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F165F

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

Preview Lab → · Contrast checker → · Palette generator →

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