#0F0F72#0F0F72

#0F0F72 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.158 H 269.2°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#0F0F72
RGBrgb(15, 15, 114)
HSLhsl(240, 77%, 25%)
HSVhsv(240, 87%, 45%)
CMYKcmyk(86.8%, 86.8%, 0%, 55.3%)
CIE-LABlab(13.58, 37.32, -54.67)
CIE-LCHlch(13.58, 66.20, 304.32°)
OKLaboklab(27.13% -0.0022 -0.1583)
OKLCHoklch(27.13% 0.158 269.2)
XYZxyz(3.4041, 1.6577, 16.0569)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F72 #72720F
analogous
#0F4072 #0F0F72 #400F72
triadic
#0F0F72 #720F0F #0F720F
tetradic
#0F0F72 #720F40 #72720F #0F7240
square
#0F0F72 #720F40 #72720F #0F7240
split-complementary
#0F0F72 #72400F #40720F
monochromatic
#04041B #08083C #0F0F72 #1616A8 #1D1DDE

Accessibility & contrast

On white

15.77
#0F0F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F0F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F72
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F72#FFFFFF#000000##FFFFFF
##0F0F721.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002875
Deuteranopia (green-blind)
#001D70
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f0f72;
/* rgb */ color: rgb(15, 15, 114);
/* oklch */ color: oklch(27.1% 0.158 269.2);
Tailwind
colors: {
  custom: {
    50: '#65519c',
    500: '#0f0f72',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f72;
$custom-light: #65519c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f72",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 240,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27128,
    "c": 0.15829,
    "h": 269.2
  },
  "luminance": 0.01658
}

Semantic roles & 50–950 ramp

primary
#0F0F72
secondary
#AAAA33
accent
#F335F3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #0F0F72

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

Preview Lab → · Contrast checker → · Palette generator →

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