#0F1A5F#0F1A5F

#0F1A5F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.5% C 0.122 H 268.7°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#0F1A5F
RGBrgb(15, 26, 95)
HSLhsl(232, 73%, 22%)
HSVhsv(232, 84%, 37%)
CMYKcmyk(84.2%, 72.6%, 0%, 62.7%)
CIE-LABlab(13.63, 23.55, -42.08)
CIE-LCHlch(13.63, 48.22, 299.23°)
OKLaboklab(26.49% -0.0027 -0.1219)
OKLCHoklch(26.49% 0.122 268.7)
XYZxyz(2.6312, 1.6663, 11.0072)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A5F #5F540F
analogous
#0F425F #0F1A5F #2C0F5F
triadic
#0F1A5F #5F0F1A #1A5F0F
tetradic
#0F1A5F #5F0F42 #5F540F #0F5F2C
square
#0F1A5F #5F0F42 #5F540F #0F5F2C
split-complementary
#0F1A5F #5F2C0F #425F0F
monochromatic
#04071A #070C2A #0F1A5F #172894 #2037C9

Accessibility & contrast

On white

15.75
#0F1A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F1A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A5F
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A5F#FFFFFF#000000##FFFFFF
##0F1A5F1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f1a5f;
/* rgb */ color: rgb(15, 26, 95);
/* oklch */ color: oklch(26.5% 0.122 268.7);
Tailwind
colors: {
  custom: {
    50: '#5e568d',
    500: '#0f1a5f',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a5f;
$custom-light: #5e568d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a5f",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 231.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26488,
    "c": 0.1219,
    "h": 268.7
  },
  "luminance": 0.01667
}

Semantic roles & 50–950 ramp

primary
#0F1A5F
secondary
#988A32
accent
#D638EF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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