#0F0F68#0F0F68

#0F0F68 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.8% C 0.146 H 270.0°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#0F0F68
RGBrgb(15, 15, 104)
HSLhsl(240, 75%, 23%)
HSVhsv(240, 86%, 41%)
CMYKcmyk(85.6%, 85.6%, 0%, 59.2%)
CIE-LABlab(12.24, 33.91, -50.35)
CIE-LCHlch(12.24, 60.71, 303.96°)
OKLaboklab(25.82% 0.0001 -0.1458)
OKLCHoklch(25.82% 0.146 270)
XYZxyz(2.8657, 1.4423, 13.2214)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F68 #68680F
analogous
#0F3B68 #0F0F68 #3B0F68
triadic
#0F0F68 #680F0F #0F680F
tetradic
#0F0F68 #680F3B #68680F #0F683B
square
#0F0F68 #680F3B #68680F #0F683B
split-complementary
#0F0F68 #683B0F #3B680F
monochromatic
#04041B #070733 #0F0F68 #17179D #1E1ED3

Accessibility & contrast

On white

16.30
#0F0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0F68
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F68#FFFFFF#000000##FFFFFF
##0F0F681.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00246A
Deuteranopia (green-blind)
#001B67
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f0f68;
/* rgb */ color: rgb(15, 15, 104);
/* oklch */ color: oklch(25.8% 0.146 270.0);
Tailwind
colors: {
  custom: {
    50: '#625094',
    500: '#0f0f68',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f68;
$custom-light: #625094;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f68",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 240,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.25815,
    "c": 0.14579,
    "h": 270
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#0F0F68
secondary
#A1A132
accent
#F136F1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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