#0F1976#0F1976

#0F1976 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.154 H 268.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#0F1976
RGBrgb(15, 25, 118)
HSLhsl(234, 77%, 26%)
HSVhsv(234, 87%, 46%)
CMYKcmyk(87.3%, 78.8%, 0%, 53.7%)
CIE-LABlab(16.03, 33.13, -53.19)
CIE-LCHlch(16.03, 62.67, 301.92°)
OKLaboklab(28.99% -0.0052 -0.1542)
OKLCHoklch(28.99% 0.154 268.1)
XYZxyz(3.8135, 2.1044, 17.3412)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1976 #766C0F
analogous
#0F4C76 #0F1976 #380F76
triadic
#0F1976 #760F19 #19760F
tetradic
#0F1976 #760F4C #766C0F #0F7638
square
#0F1976 #760F4C #766C0F #0F7638
split-complementary
#0F1976 #76380F #4C760F
monochromatic
#03061B #080D40 #0F1976 #1625AC #1D30E2

Accessibility & contrast

On white

14.78
#0F1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F1976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1976
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1976#FFFFFF#000000##FFFFFF
##0F19761.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f1976;
/* rgb */ color: rgb(15, 25, 118);
/* oklch */ color: oklch(29.0% 0.154 268.1);
Tailwind
colors: {
  custom: {
    50: '#65579f',
    500: '#0f1976',
    950: '#000000',
  },
}
SCSS
$custom: #0f1976;
$custom-light: #65579f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1976",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 234.175,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28993,
    "c": 0.15426,
    "h": 268.1
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#0F1976
secondary
#ADA233
accent
#E134F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #0F1976

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

Preview Lab → · Contrast checker → · Palette generator →

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