#0F1374#0F1374

#0F1374 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.157 H 268.8°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#0F1374
RGBrgb(15, 19, 116)
HSLhsl(238, 77%, 26%)
HSVhsv(238, 87%, 45%)
CMYKcmyk(87.1%, 83.6%, 0%, 54.5%)
CIE-LABlab(14.56, 35.91, -54.34)
CIE-LCHlch(14.56, 65.14, 303.46°)
OKLaboklab(27.89% -0.0034 -0.1574)
OKLCHoklch(27.89% 0.157 268.8)
XYZxyz(3.5812, 1.8278, 16.6837)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1374 #74700F
analogous
#0F4574 #0F1374 #3D0F74
triadic
#0F1374 #740F13 #13740F
tetradic
#0F1374 #740F45 #74700F #0F743D
square
#0F1374 #740F45 #74700F #0F743D
split-complementary
#0F1374 #743D0F #45740F
monochromatic
#04041B #080A3E #0F1374 #161CAA #1D25E0

Accessibility & contrast

On white

15.38
#0F1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F1374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1374
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1374#FFFFFF#000000##FFFFFF
##0F13741.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#001F72
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f1374;
/* rgb */ color: rgb(15, 19, 116);
/* oklch */ color: oklch(27.9% 0.157 268.8);
Tailwind
colors: {
  custom: {
    50: '#65539d',
    500: '#0f1374',
    950: '#000000',
  },
}
SCSS
$custom: #0f1374;
$custom-light: #65539d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1374",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 237.624,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27885,
    "c": 0.15744,
    "h": 268.8
  },
  "luminance": 0.01828
}

Semantic roles & 50–950 ramp

primary
#0F1374
secondary
#ACA733
accent
#EC34F4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #0F1374

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

Preview Lab → · Contrast checker → · Palette generator →

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