#0F1955#0F1955

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

Color values

HEX#0F1955
RGBrgb(15, 25, 85)
HSLhsl(231, 70%, 20%)
HSVhsv(231, 82%, 33%)
CMYKcmyk(82.4%, 70.6%, 0%, 66.7%)
CIE-LABlab(12.30, 20.15, -37.53)
CIE-LCHlch(12.30, 42.60, 298.23°)
OKLaboklab(25.2% -0.0013 -0.1086)
OKLCHoklch(25.2% 0.109 269.3)
XYZxyz(2.1838, 1.4525, 8.7578)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1955 #554B0F
analogous
#0F3C55 #0F1955 #280F55
triadic
#0F1955 #550F19 #19550F
tetradic
#0F1955 #550F3C #554B0F #0F5528
square
#0F1955 #550F3C #554B0F #0F5528
split-complementary
#0F1955 #55280F #3C550F
monochromatic
#05081A #060A21 #0F1955 #182889 #2138BD

Accessibility & contrast

On white

16.27
#0F1955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F1955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1955
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1955#FFFFFF#000000##FFFFFF
##0F19551.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1955;
/* rgb */ color: rgb(15, 25, 85);
/* oklch */ color: oklch(25.2% 0.109 269.3);
Tailwind
colors: {
  custom: {
    50: '#5b5586',
    500: '#0f1955',
    950: '#000000',
  },
}
SCSS
$custom: #0f1955;
$custom-light: #5b5586;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1955",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 231.429,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25198,
    "c": 0.10859,
    "h": 269.3
  },
  "luminance": 0.01453
}

Semantic roles & 50–950 ramp

primary
#0F1955
secondary
#8F8131
accent
#D33BED
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1955

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

Preview Lab → · Contrast checker → · Palette generator →

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