#0F1674#0F1674

#0F1674 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.155 H 268.5°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#0F1674
RGBrgb(15, 22, 116)
HSLhsl(236, 77%, 26%)
HSVhsv(236, 87%, 45%)
CMYKcmyk(87.1%, 81%, 0%, 54.5%)
CIE-LABlab(15.15, 34.21, -53.36)
CIE-LCHlch(15.15, 63.38, 302.66°)
OKLaboklab(28.3% -0.004 -0.1546)
OKLCHoklch(28.3% 0.155 268.5)
XYZxyz(3.6352, 1.9359, 16.7017)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1674 #746D0F
analogous
#0F4874 #0F1674 #3B0F74
triadic
#0F1674 #740F16 #16740F
tetradic
#0F1674 #740F48 #746D0F #0F743B
square
#0F1674 #740F48 #746D0F #0F743B
split-complementary
#0F1674 #743B0F #48740F
monochromatic
#04051B #080C3E #0F1674 #1620AA #1D2BE0

Accessibility & contrast

On white

15.14
#0F1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1674
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1674#FFFFFF#000000##FFFFFF
##0F16741.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002172
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f1674;
/* rgb */ color: rgb(15, 22, 116);
/* oklch */ color: oklch(28.3% 0.155 268.5);
Tailwind
colors: {
  custom: {
    50: '#64559d',
    500: '#0f1674',
    950: '#000000',
  },
}
SCSS
$custom: #0f1674;
$custom-light: #64559d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1674",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 235.842,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.283,
    "c": 0.15466,
    "h": 268.5
  },
  "luminance": 0.01936
}

Semantic roles & 50–950 ramp

primary
#0F1674
secondary
#ACA333
accent
#E634F4
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #0F1674

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

Preview Lab → · Contrast checker → · Palette generator →

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