#0F1D4F#0F1D4F

#0F1D4F is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.094 H 267.4°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#0F1D4F
RGBrgb(15, 29, 79)
HSLhsl(227, 68%, 18%)
HSVhsv(227, 81%, 31%)
CMYKcmyk(81%, 63.3%, 0%, 69%)
CIE-LABlab(12.89, 14.60, -32.49)
CIE-LCHlch(12.89, 35.62, 294.19°)
OKLaboklab(25.45% -0.0043 -0.0937)
OKLCHoklch(25.45% 0.094 267.4)
XYZxyz(2.0472, 1.5446, 7.5859)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D4F #4F410F
analogous
#0F3D4F #0F1D4F #210F4F
triadic
#0F1D4F #4F0F1D #1D4F0F
tetradic
#0F1D4F #4F0F3D #4F410F #0F4F21
square
#0F1D4F #4F0F3D #4F410F #0F4F21
split-complementary
#0F1D4F #4F210F #3D4F0F
monochromatic
#05091A #050A1C #0F1D4F #193082 #2343B6

Accessibility & contrast

On white

16.04
#0F1D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F1D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1D4F
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D4F#FFFFFF#000000##FFFFFF
##0F1D4F1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1d4f;
/* rgb */ color: rgb(15, 29, 79);
/* oklch */ color: oklch(25.5% 0.094 267.4);
Tailwind
colors: {
  custom: {
    50: '#585881',
    500: '#0f1d4f',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d4f;
$custom-light: #585881;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d4f",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 226.875,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25452,
    "c": 0.09383,
    "h": 267.4
  },
  "luminance": 0.01545
}

Semantic roles & 50–950 ramp

primary
#0F1D4F
secondary
#897631
accent
#C53DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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