#0F1376#0F1376

#0F1376 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.160 H 268.7°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#0F1376
RGBrgb(15, 19, 118)
HSLhsl(238, 77%, 26%)
HSVhsv(238, 87%, 46%)
CMYKcmyk(87.3%, 83.9%, 0%, 53.7%)
CIE-LABlab(14.82, 36.61, -55.20)
CIE-LCHlch(14.82, 66.23, 303.55°)
OKLaboklab(28.14% -0.0037 -0.1599)
OKLCHoklch(28.14% 0.16 268.7)
XYZxyz(3.6988, 1.8749, 17.3030)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1376 #76720F
analogous
#0F4676 #0F1376 #3E0F76
triadic
#0F1376 #760F13 #13760F
tetradic
#0F1376 #760F46 #76720F #0F763E
square
#0F1376 #760F46 #76720F #0F763E
split-complementary
#0F1376 #763E0F #46760F
monochromatic
#03041B #080A40 #0F1376 #161CAC #1D25E2

Accessibility & contrast

On white

15.27
#0F1376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0F1376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1376
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1376#FFFFFF#000000##FFFFFF
##0F13761.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#002074
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f1376;
/* rgb */ color: rgb(15, 19, 118);
/* oklch */ color: oklch(28.1% 0.160 268.7);
Tailwind
colors: {
  custom: {
    50: '#65539f',
    500: '#0f1376',
    950: '#000000',
  },
}
SCSS
$custom: #0f1376;
$custom-light: #65539f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1376",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 237.67,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28141,
    "c": 0.15993,
    "h": 268.7
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#0F1376
secondary
#ADA933
accent
#ED34F4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #0F1376

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

Preview Lab → · Contrast checker → · Palette generator →

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