#0F1D45#0F1D45

#0F1D45 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.078 H 266.2°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#0F1D45
RGBrgb(15, 29, 69)
HSLhsl(224, 64%, 16%)
HSVhsv(224, 78%, 27%)
CMYKcmyk(78.3%, 58%, 0%, 72.9%)
CIE-LABlab(12.02, 10.23, -26.99)
CIE-LCHlch(12.02, 28.86, 290.77°)
OKLaboklab(24.53% -0.0051 -0.0775)
OKLCHoklch(24.53% 0.078 266.2)
XYZxyz(1.7102, 1.4098, 5.8111)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D45 #45370F
analogous
#0F3845 #0F1D45 #1C0F45
triadic
#0F1D45 #450F1D #1D450F
tetradic
#0F1D45 #450F38 #45370F #0F451C
square
#0F1D45 #450F38 #45370F #0F451C
split-complementary
#0F1D45 #451C0F #38450F
monochromatic
#050B19 #050B19 #0F1D45 #1A3277 #2547AA

Accessibility & contrast

On white

16.38
#0F1D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1D45
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D45#FFFFFF#000000##FFFFFF
##0F1D451.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052246
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#00272D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1d45;
/* rgb */ color: rgb(15, 29, 69);
/* oklch */ color: oklch(24.5% 0.078 266.2);
Tailwind
colors: {
  custom: {
    50: '#565879',
    500: '#0f1d45',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d45;
$custom-light: #565879;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d45",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 69
  },
  "hsl": {
    "h": 224.444,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24526,
    "c": 0.07771,
    "h": 266.2
  },
  "luminance": 0.0141
}

Semantic roles & 50–950 ramp

primary
#0F1D45
secondary
#7F6B30
accent
#BC41E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1D45

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

Preview Lab → · Contrast checker → · Palette generator →

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