#0F1C53#0F1C53

#0F1C53 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.101 H 268.1°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#0F1C53
RGBrgb(15, 28, 83)
HSLhsl(229, 69%, 19%)
HSVhsv(229, 82%, 33%)
CMYKcmyk(81.9%, 66.3%, 0%, 67.5%)
CIE-LABlab(12.96, 17.07, -35.10)
CIE-LCHlch(12.96, 39.03, 295.94°)
OKLaboklab(25.62% -0.0034 -0.1014)
OKLCHoklch(25.62% 0.101 268.1)
XYZxyz(2.1730, 1.5564, 8.3678)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1C53 #53460F
analogous
#0F3E53 #0F1C53 #240F53
triadic
#0F1C53 #530F1C #1C530F
tetradic
#0F1C53 #530F3E #53460F #0F5324
square
#0F1C53 #530F3E #53460F #0F5324
split-complementary
#0F1C53 #53240F #3E530F
monochromatic
#05091A #060B1F #0F1C53 #182D87 #223FBB

Accessibility & contrast

On white

16.01
#0F1C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F1C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1C53
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1C53#FFFFFF#000000##FFFFFF
##0F1C531.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#002A34
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1c53;
/* rgb */ color: rgb(15, 28, 83);
/* oklch */ color: oklch(25.6% 0.101 268.1);
Tailwind
colors: {
  custom: {
    50: '#5a5784',
    500: '#0f1c53',
    950: '#000000',
  },
}
SCSS
$custom: #0f1c53;
$custom-light: #5a5784;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1c53",
  "rgb": {
    "r": 15,
    "g": 28,
    "b": 83
  },
  "hsl": {
    "h": 228.529,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25623,
    "c": 0.10146,
    "h": 268.1
  },
  "luminance": 0.01557
}

Semantic roles & 50–950 ramp

primary
#0F1C53
secondary
#8D7B31
accent
#CA3CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1C53

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

Preview Lab → · Contrast checker → · Palette generator →

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