#0F1074#0F1074

#0F1074 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.5% C 0.160 H 269.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#0F1074
RGBrgb(15, 16, 116)
HSLhsl(239, 77%, 26%)
HSVhsv(239, 87%, 45%)
CMYKcmyk(87.1%, 86.2%, 0%, 54.5%)
CIE-LABlab(14.02, 37.49, -55.23)
CIE-LCHlch(14.02, 66.76, 304.17°)
OKLaboklab(27.51% -0.0028 -0.1599)
OKLCHoklch(27.51% 0.16 269)
XYZxyz(3.5336, 1.7327, 16.6678)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1074 #74730F
analogous
#0F4274 #0F1074 #400F74
triadic
#0F1074 #740F10 #10740F
tetradic
#0F1074 #740F42 #74730F #0F7440
square
#0F1074 #740F42 #74730F #0F7440
split-complementary
#0F1074 #74400F #42740F
monochromatic
#04041B #08093E #0F1074 #1617AA #1D1FE0

Accessibility & contrast

On white

15.59
#0F1074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1074
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1074#FFFFFF#000000##FFFFFF
##0F10741.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002977
Deuteranopia (green-blind)
#001E72
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f1074;
/* rgb */ color: rgb(15, 16, 116);
/* oklch */ color: oklch(27.5% 0.160 269.0);
Tailwind
colors: {
  custom: {
    50: '#65519d',
    500: '#0f1074',
    950: '#000000',
  },
}
SCSS
$custom: #0f1074;
$custom-light: #65519d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1074",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 239.406,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27509,
    "c": 0.15995,
    "h": 269
  },
  "luminance": 0.01733
}

Semantic roles & 50–950 ramp

primary
#0F1074
secondary
#ACAA33
accent
#F234F4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #0F1074

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

Preview Lab → · Contrast checker → · Palette generator →

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