#0F1A56#0F1A56

#0F1A56 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.109 H 268.9°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#0F1A56
RGBrgb(15, 26, 86)
HSLhsl(231, 70%, 20%)
HSVhsv(231, 83%, 34%)
CMYKcmyk(82.6%, 69.8%, 0%, 66.3%)
CIE-LABlab(12.68, 19.83, -37.59)
CIE-LCHlch(12.68, 42.50, 297.82°)
OKLaboklab(25.51% -0.0021 -0.1087)
OKLCHoklch(25.51% 0.109 268.9)
XYZxyz(2.2455, 1.5120, 8.9758)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A56 #564B0F
analogous
#0F3E56 #0F1A56 #270F56
triadic
#0F1A56 #560F1A #1A560F
tetradic
#0F1A56 #560F3E #564B0F #0F5627
square
#0F1A56 #560F3E #564B0F #0F5627
split-complementary
#0F1A56 #56270F #3E560F
monochromatic
#05081A #060A22 #0F1A56 #182A8A #213ABE

Accessibility & contrast

On white

16.12
#0F1A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F1A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A56
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A56#FFFFFF#000000##FFFFFF
##0F1A561.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#002A35
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1a56;
/* rgb */ color: rgb(15, 26, 86);
/* oklch */ color: oklch(25.5% 0.109 268.9);
Tailwind
colors: {
  custom: {
    50: '#5b5686',
    500: '#0f1a56',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a56;
$custom-light: #5b5686;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a56",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 230.704,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2551,
    "c": 0.10874,
    "h": 268.9
  },
  "luminance": 0.01512
}

Semantic roles & 50–950 ramp

primary
#0F1A56
secondary
#908131
accent
#D13BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1A56

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

Preview Lab → · Contrast checker → · Palette generator →

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