#0F1F53#0F1F53

#0F1F53 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.097 H 266.6°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#0F1F53
RGBrgb(15, 31, 83)
HSLhsl(226, 69%, 19%)
HSVhsv(226, 82%, 33%)
CMYKcmyk(81.9%, 62.7%, 0%, 67.5%)
CIE-LABlab(13.86, 14.81, -33.63)
CIE-LCHlch(13.86, 36.75, 293.77°)
OKLaboklab(26.29% -0.0058 -0.097)
OKLCHoklch(26.29% 0.097 266.6)
XYZxyz(2.2478, 1.7058, 8.3927)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1F53 #53430F
analogous
#0F4153 #0F1F53 #210F53
triadic
#0F1F53 #530F1F #1F530F
tetradic
#0F1F53 #530F41 #53430F #0F5321
square
#0F1F53 #530F41 #53430F #0F5321
split-complementary
#0F1F53 #53210F #41530F
monochromatic
#050A1A #060C1F #0F1F53 #183287 #2246BB

Accessibility & contrast

On white

15.66
#0F1F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F1F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1F53
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1F53#FFFFFF#000000##FFFFFF
##0F1F531.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002755
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f1f53;
/* rgb */ color: rgb(15, 31, 83);
/* oklch */ color: oklch(26.3% 0.097 266.6);
Tailwind
colors: {
  custom: {
    50: '#595a84',
    500: '#0f1f53',
    950: '#000000',
  },
}
SCSS
$custom: #0f1f53;
$custom-light: #595a84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1f53",
  "rgb": {
    "r": 15,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 225.882,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26294,
    "c": 0.09723,
    "h": 266.6
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#0F1F53
secondary
#8D7731
accent
#C33CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1F53

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

Preview Lab → · Contrast checker → · Palette generator →

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