#0F1D46#0F1D46

#0F1D46 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.079 H 266.4°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#0F1D46
RGBrgb(15, 29, 70)
HSLhsl(225, 65%, 17%)
HSVhsv(225, 79%, 27%)
CMYKcmyk(78.6%, 58.6%, 0%, 72.5%)
CIE-LABlab(12.11, 10.67, -27.55)
CIE-LCHlch(12.11, 29.54, 291.18°)
OKLaboklab(24.62% -0.005 -0.0792)
OKLCHoklch(24.62% 0.079 266.4)
XYZxyz(1.7415, 1.4223, 5.9759)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D46 #46380F
analogous
#0F3946 #0F1D46 #1D0F46
triadic
#0F1D46 #460F1D #1D460F
tetradic
#0F1D46 #460F39 #46380F #0F461D
square
#0F1D46 #460F39 #46380F #0F461D
split-complementary
#0F1D46 #461D0F #39460F
monochromatic
#050A19 #050A19 #0F1D46 #1A3278 #2547AB

Accessibility & contrast

On white

16.35
#0F1D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0F1D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1D46
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D46#FFFFFF#000000##FFFFFF
##0F1D461.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042247
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1d46;
/* rgb */ color: rgb(15, 29, 70);
/* oklch */ color: oklch(24.6% 0.079 266.4);
Tailwind
colors: {
  custom: {
    50: '#56587a',
    500: '#0f1d46',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d46;
$custom-light: #56587a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d46",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 70
  },
  "hsl": {
    "h": 224.727,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24615,
    "c": 0.07936,
    "h": 266.4
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#0F1D46
secondary
#806C30
accent
#BD40E8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1D46

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

Preview Lab → · Contrast checker → · Palette generator →

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