#0F1F60#0F1F60

#0F1F60 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.6% C 0.117 H 267.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#0F1F60
RGBrgb(15, 31, 96)
HSLhsl(228, 73%, 22%)
HSVhsv(228, 84%, 38%)
CMYKcmyk(84.4%, 67.7%, 0%, 62.4%)
CIE-LABlab(15.09, 20.36, -40.35)
CIE-LCHlch(15.09, 45.19, 296.78°)
OKLaboklab(27.59% -0.0057 -0.1167)
OKLCHoklch(27.59% 0.117 267.2)
XYZxyz(2.7976, 1.9257, 11.2883)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1F60 #60500F
analogous
#0F4860 #0F1F60 #280F60
triadic
#0F1F60 #600F1F #1F600F
tetradic
#0F1F60 #600F48 #60500F #0F6028
square
#0F1F60 #600F48 #60500F #0F6028
split-complementary
#0F1F60 #60280F #48600F
monochromatic
#04091A #070E2B #0F1F60 #173095 #2041CA

Accessibility & contrast

On white

15.16
#0F1F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0F1F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1F60
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1F60#FFFFFF#000000##FFFFFF
##0F1F601.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f1f60;
/* rgb */ color: rgb(15, 31, 96);
/* oklch */ color: oklch(27.6% 0.117 267.2);
Tailwind
colors: {
  custom: {
    50: '#5d5a8e',
    500: '#0f1f60',
    950: '#000000',
  },
}
SCSS
$custom: #0f1f60;
$custom-light: #5d5a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1f60",
  "rgb": {
    "r": 15,
    "g": 31,
    "b": 96
  },
  "hsl": {
    "h": 228.148,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27592,
    "c": 0.11689,
    "h": 267.2
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#0F1F60
secondary
#998532
accent
#CB38F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1F60

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

Preview Lab → · Contrast checker → · Palette generator →

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