#0F1D53#0F1D53

#0F1D53 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.100 H 267.6°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#0F1D53
RGBrgb(15, 29, 83)
HSLhsl(228, 69%, 19%)
HSVhsv(228, 82%, 33%)
CMYKcmyk(81.9%, 65.1%, 0%, 67.5%)
CIE-LABlab(13.26, 16.32, -34.61)
CIE-LCHlch(13.26, 38.27, 295.25°)
OKLaboklab(25.84% -0.0042 -0.1)
OKLCHoklch(25.84% 0.1 267.6)
XYZxyz(2.1972, 1.6046, 8.3759)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D53 #53450F
analogous
#0F3F53 #0F1D53 #230F53
triadic
#0F1D53 #530F1D #1D530F
tetradic
#0F1D53 #530F3F #53450F #0F5323
square
#0F1D53 #530F3F #53450F #0F5323
split-complementary
#0F1D53 #53230F #3F530F
monochromatic
#05091A #060B1F #0F1D53 #182F87 #2241BB

Accessibility & contrast

On white

15.90
#0F1D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0F1D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1D53
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D53#FFFFFF#000000##FFFFFF
##0F1D531.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#001F52
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1d53;
/* rgb */ color: rgb(15, 29, 83);
/* oklch */ color: oklch(25.8% 0.100 267.6);
Tailwind
colors: {
  custom: {
    50: '#5a5884',
    500: '#0f1d53',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d53;
$custom-light: #5a5884;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d53",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 227.647,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25844,
    "c": 0.10006,
    "h": 267.6
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#0F1D53
secondary
#8D7A31
accent
#C83CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1D53

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

Preview Lab → · Contrast checker → · Palette generator →

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