#0F0F76#0F0F76

#0F0F76 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.163 H 268.9°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#0F0F76
RGBrgb(15, 15, 118)
HSLhsl(240, 77%, 26%)
HSVhsv(240, 87%, 46%)
CMYKcmyk(87.3%, 87.3%, 0%, 53.7%)
CIE-LABlab(14.12, 38.65, -56.35)
CIE-LCHlch(14.12, 68.34, 304.45°)
OKLaboklab(27.66% -0.0031 -0.1631)
OKLCHoklch(27.66% 0.163 268.9)
XYZxyz(3.6367, 1.7508, 17.2823)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F76 #76760F
analogous
#0F4276 #0F0F76 #420F76
triadic
#0F0F76 #760F0F #0F760F
tetradic
#0F0F76 #760F42 #76760F #0F7642
square
#0F0F76 #760F42 #76760F #0F7642
split-complementary
#0F0F76 #76420F #42760F
monochromatic
#03031B #080840 #0F0F76 #1616AC #1D1DE2

Accessibility & contrast

On white

15.55
#0F0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0F0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F76
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F76#FFFFFF#000000##FFFFFF
##0F0F761.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002979
Deuteranopia (green-blind)
#001E74
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f0f76;
/* rgb */ color: rgb(15, 15, 118);
/* oklch */ color: oklch(27.7% 0.163 268.9);
Tailwind
colors: {
  custom: {
    50: '#66519f',
    500: '#0f0f76',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f76;
$custom-light: #66519f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f76",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 240,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.27658,
    "c": 0.16317,
    "h": 268.9
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#0F0F76
secondary
#ADAD33
accent
#F434F4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #0F0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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