#0F1A47#0F1A47

#0F1A47 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.085 H 268.7°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#0F1A47
RGBrgb(15, 26, 71)
HSLhsl(228, 65%, 17%)
HSVhsv(228, 79%, 28%)
CMYKcmyk(78.9%, 63.4%, 0%, 72.2%)
CIE-LABlab(11.24, 13.43, -29.64)
CIE-LCHlch(11.24, 32.54, 294.36°)
OKLaboklab(23.99% -0.002 -0.0854)
OKLCHoklch(23.99% 0.085 268.7)
XYZxyz(1.7033, 1.2951, 6.1202)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A47 #473C0F
analogous
#0F3647 #0F1A47 #200F47
triadic
#0F1A47 #470F1A #1A470F
tetradic
#0F1A47 #470F36 #473C0F #0F4720
square
#0F1A47 #470F36 #473C0F #0F4720
split-complementary
#0F1A47 #47200F #36470F
monochromatic
#050919 #050919 #0F1A47 #1A2D7A #243FAC

Accessibility & contrast

On white

16.68
#0F1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1A47
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A47#FFFFFF#000000##FFFFFF
##0F1A471.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1a47;
/* rgb */ color: rgb(15, 26, 71);
/* oklch */ color: oklch(24.0% 0.085 268.7);
Tailwind
colors: {
  custom: {
    50: '#56567b',
    500: '#0f1a47',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a47;
$custom-light: #56567b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a47",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 228.214,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23992,
    "c": 0.08544,
    "h": 268.7
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#0F1A47
secondary
#817230
accent
#C740E8
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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