#0F1066#0F1066

#0F1066 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.7% C 0.142 H 270.1°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#0F1066
RGBrgb(15, 16, 102)
HSLhsl(239, 74%, 23%)
HSVhsv(239, 85%, 40%)
CMYKcmyk(85.3%, 84.3%, 0%, 60%)
CIE-LABlab(12.16, 32.66, -49.16)
CIE-LCHlch(12.16, 59.01, 303.60°)
OKLaboklab(25.69% 0.0003 -0.1423)
OKLCHoklch(25.69% 0.142 270.1)
XYZxyz(2.7797, 1.4311, 12.6975)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1066 #66650F
analogous
#0F3C66 #0F1066 #390F66
triadic
#0F1066 #660F10 #10660F
tetradic
#0F1066 #660F3C #66650F #0F6639
square
#0F1066 #660F3C #66650F #0F6639
split-complementary
#0F1066 #66390F #3C660F
monochromatic
#04041B #070831 #0F1066 #17189B #1F21D1

Accessibility & contrast

On white

16.33
#0F1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1066
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1066#FFFFFF#000000##FFFFFF
##0F10661.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002468
Deuteranopia (green-blind)
#001B65
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1066;
/* rgb */ color: rgb(15, 16, 102);
/* oklch */ color: oklch(25.7% 0.142 270.1);
Tailwind
colors: {
  custom: {
    50: '#615093',
    500: '#0f1066',
    950: '#000000',
  },
}
SCSS
$custom: #0f1066;
$custom-light: #615093;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1066",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 239.31,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.25688,
    "c": 0.14234,
    "h": 270.1
  },
  "luminance": 0.01431
}

Semantic roles & 50–950 ramp

primary
#0F1066
secondary
#9F9D32
accent
#EF37F1
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F1066

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

Preview Lab → · Contrast checker → · Palette generator →

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