#0F1D43#0F1D43

#0F1D43 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.074 H 265.9°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#0F1D43
RGBrgb(15, 29, 67)
HSLhsl(224, 63%, 16%)
HSVhsv(224, 78%, 26%)
CMYKcmyk(77.6%, 56.7%, 0%, 73.7%)
CIE-LABlab(11.86, 9.35, -25.85)
CIE-LCHlch(11.86, 27.49, 289.89°)
OKLaboklab(24.35% -0.0054 -0.0742)
OKLCHoklch(24.35% 0.074 265.9)
XYZxyz(1.6491, 1.3854, 5.4896)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D43 #43350F
analogous
#0F3743 #0F1D43 #1B0F43
triadic
#0F1D43 #430F1D #1D430F
tetradic
#0F1D43 #430F37 #43350F #0F431B
square
#0F1D43 #430F37 #43350F #0F431B
split-complementary
#0F1D43 #431B0F #37430F
monochromatic
#060B19 #060B19 #0F1D43 #1A3375 #2548A7

Accessibility & contrast

On white

16.44
#0F1D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1D43
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D43#FFFFFF#000000##FFFFFF
##0F1D431.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072244
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1d43;
/* rgb */ color: rgb(15, 29, 67);
/* oklch */ color: oklch(24.4% 0.074 265.9);
Tailwind
colors: {
  custom: {
    50: '#555877',
    500: '#0f1d43',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d43;
$custom-light: #555877;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d43",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 67
  },
  "hsl": {
    "h": 223.846,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24351,
    "c": 0.07439,
    "h": 265.9
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#0F1D43
secondary
#7D6930
accent
#BA41E6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1D43

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

Preview Lab → · Contrast checker → · Palette generator →

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