#0F1855#0F1855

#0F1855 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.110 H 269.7°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#0F1855
RGBrgb(15, 24, 85)
HSLhsl(232, 70%, 20%)
HSVhsv(232, 82%, 33%)
CMYKcmyk(82.4%, 71.8%, 0%, 66.7%)
CIE-LABlab(12.03, 20.88, -37.99)
CIE-LCHlch(12.03, 43.35, 298.80°)
OKLaboklab(25% -0.0007 -0.1099)
OKLCHoklch(25% 0.11 269.7)
XYZxyz(2.1628, 1.4105, 8.7508)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1855 #554C0F
analogous
#0F3B55 #0F1855 #290F55
triadic
#0F1855 #550F18 #18550F
tetradic
#0F1855 #550F3B #554C0F #0F5529
square
#0F1855 #550F3B #554C0F #0F5529
split-complementary
#0F1855 #55290F #3B550F
monochromatic
#05071A #060921 #0F1855 #182789 #2135BD

Accessibility & contrast

On white

16.38
#0F1855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1855
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1855#FFFFFF#000000##FFFFFF
##0F18551.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#001C54
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1855;
/* rgb */ color: rgb(15, 24, 85);
/* oklch */ color: oklch(25.0% 0.110 269.7);
Tailwind
colors: {
  custom: {
    50: '#5b5486',
    500: '#0f1855',
    950: '#000000',
  },
}
SCSS
$custom: #0f1855;
$custom-light: #5b5486;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1855",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 232.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24997,
    "c": 0.10991,
    "h": 269.7
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#0F1855
secondary
#8F8331
accent
#D63BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1855

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

Preview Lab → · Contrast checker → · Palette generator →

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