#0F106A#0F106A

#0F106A is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.147 H 269.8°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#0F106A
RGBrgb(15, 16, 106)
HSLhsl(239, 75%, 24%)
HSVhsv(239, 86%, 42%)
CMYKcmyk(85.8%, 84.9%, 0%, 58.4%)
CIE-LABlab(12.69, 34.06, -50.92)
CIE-LCHlch(12.69, 61.27, 303.78°)
OKLaboklab(26.2% -0.0006 -0.1475)
OKLCHoklch(26.2% 0.147 269.8)
XYZxyz(2.9829, 1.5124, 13.7676)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F106A #6A690F
analogous
#0F3D6A #0F106A #3B0F6A
triadic
#0F106A #6A0F10 #106A0F
tetradic
#0F106A #6A0F3D #6A690F #0F6A3B
square
#0F106A #6A0F3D #6A690F #0F6A3B
split-complementary
#0F106A #6A3B0F #3D6A0F
monochromatic
#04041B #070834 #0F106A #1718A0 #1E20D5

Accessibility & contrast

On white

16.12
#0F106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F106A
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F106A#FFFFFF#000000##FFFFFF
##0F106A1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256C
Deuteranopia (green-blind)
#001C68
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f106a;
/* rgb */ color: rgb(15, 16, 106);
/* oklch */ color: oklch(26.2% 0.147 269.8);
Tailwind
colors: {
  custom: {
    50: '#625096',
    500: '#0f106a',
    950: '#000000',
  },
}
SCSS
$custom: #0f106a;
$custom-light: #625096;
$custom-dark: #000000;
JSON
{
  "hex": "#0f106a",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 239.341,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26204,
    "c": 0.14746,
    "h": 269.8
  },
  "luminance": 0.01513
}

Semantic roles & 50–950 ramp

primary
#0F106A
secondary
#A2A132
accent
#F036F2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F106A

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

Preview Lab → · Contrast checker → · Palette generator →

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