#0F0F74#0F0F74

#0F0F74 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.161 H 269.1°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#0F0F74
RGBrgb(15, 15, 116)
HSLhsl(240, 77%, 26%)
HSVhsv(240, 87%, 45%)
CMYKcmyk(87.1%, 87.1%, 0%, 54.5%)
CIE-LABlab(13.85, 37.99, -55.52)
CIE-LCHlch(13.85, 67.27, 304.39°)
OKLaboklab(27.39% -0.0026 -0.1607)
OKLCHoklch(27.39% 0.161 269.1)
XYZxyz(3.5191, 1.7037, 16.6630)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F74 #74740F
analogous
#0F4174 #0F0F74 #410F74
triadic
#0F0F74 #740F0F #0F740F
tetradic
#0F0F74 #740F41 #74740F #0F7441
square
#0F0F74 #740F41 #74740F #0F7441
split-complementary
#0F0F74 #74410F #41740F
monochromatic
#04041B #08083E #0F0F74 #1616AA #1D1DE0

Accessibility & contrast

On white

15.66
#0F0F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F0F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F74
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F74#FFFFFF#000000##FFFFFF
##0F0F741.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002877
Deuteranopia (green-blind)
#001E72
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f0f74;
/* rgb */ color: rgb(15, 15, 116);
/* oklch */ color: oklch(27.4% 0.161 269.1);
Tailwind
colors: {
  custom: {
    50: '#65519d',
    500: '#0f0f74',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f74;
$custom-light: #65519d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f74",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 116
  },
  "hsl": {
    "h": 240,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27393,
    "c": 0.16074,
    "h": 269.1
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#0F0F74
secondary
#ACAC33
accent
#F434F4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #0F0F74

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

Preview Lab → · Contrast checker → · Palette generator →

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