#0F1072#0F1072

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

Color values

HEX#0F1072
RGBrgb(15, 16, 114)
HSLhsl(239, 77%, 25%)
HSVhsv(239, 87%, 45%)
CMYKcmyk(86.8%, 86%, 0%, 55.3%)
CIE-LABlab(13.75, 36.82, -54.39)
CIE-LCHlch(13.75, 65.68, 304.10°)
OKLaboklab(27.25% -0.0024 -0.1575)
OKLCHoklch(27.25% 0.157 269.1)
XYZxyz(3.4185, 1.6866, 16.0617)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1072 #72710F
analogous
#0F4172 #0F1072 #3F0F72
triadic
#0F1072 #720F10 #10720F
tetradic
#0F1072 #720F41 #72710F #0F723F
square
#0F1072 #720F41 #72710F #0F723F
split-complementary
#0F1072 #723F0F #41720F
monochromatic
#04041B #08083C #0F1072 #1618A8 #1D1FDE

Accessibility & contrast

On white

15.70
#0F1072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1072
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1072#FFFFFF#000000##FFFFFF
##0F10721.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002875
Deuteranopia (green-blind)
#001E70
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f1072;
/* rgb */ color: rgb(15, 16, 114);
/* oklch */ color: oklch(27.2% 0.157 269.1);
Tailwind
colors: {
  custom: {
    50: '#64519c',
    500: '#0f1072',
    950: '#000000',
  },
}
SCSS
$custom: #0f1072;
$custom-light: #64519c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1072",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 239.394,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27247,
    "c": 0.15749,
    "h": 269.1
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#0F1072
secondary
#AAA933
accent
#F135F3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #0F1072

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

Preview Lab → · Contrast checker → · Palette generator →

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