#0F1457#0F1457

#0F1457 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.118 H 270.7°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#0F1457
RGBrgb(15, 20, 87)
HSLhsl(236, 71%, 20%)
HSVhsv(236, 83%, 34%)
CMYKcmyk(82.8%, 77%, 0%, 65.9%)
CIE-LABlab(11.20, 24.52, -40.70)
CIE-LCHlch(11.20, 47.51, 301.07°)
OKLaboklab(24.47% 0.0015 -0.1178)
OKLCHoklch(24.47% 0.118 270.7)
XYZxyz(2.1669, 1.2898, 9.1497)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1457 #57520F
analogous
#0F3857 #0F1457 #2E0F57
triadic
#0F1457 #570F14 #14570F
tetradic
#0F1457 #570F38 #57520F #0F572E
square
#0F1457 #570F38 #57520F #0F572E
split-complementary
#0F1457 #572E0F #38570F
monochromatic
#05061A #060823 #0F1457 #18208B #212CBF

Accessibility & contrast

On white

16.69
#0F1457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0F1457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1457
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1457#FFFFFF#000000##FFFFFF
##0F14571.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001A56
Tritanopia (blue-blind)
#002734
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1457;
/* rgb */ color: rgb(15, 20, 87);
/* oklch */ color: oklch(24.5% 0.118 270.7);
Tailwind
colors: {
  custom: {
    50: '#5c5287',
    500: '#0f1457',
    950: '#000000',
  },
}
SCSS
$custom: #0f1457;
$custom-light: #5c5287;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1457",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 235.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.24467,
    "c": 0.11784,
    "h": 270.7
  },
  "luminance": 0.0129
}

Semantic roles & 50–950 ramp

primary
#0F1457
secondary
#918A31
accent
#E13AED
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1457

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

Preview Lab → · Contrast checker → · Palette generator →

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