#0F1267#0F1267

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

Color values

HEX#0F1267
RGBrgb(15, 18, 103)
HSLhsl(238, 75%, 23%)
HSVhsv(238, 85%, 40%)
CMYKcmyk(85.4%, 82.5%, 0%, 59.6%)
CIE-LABlab(12.69, 31.86, -48.94)
CIE-LCHlch(12.69, 58.40, 303.07°)
OKLaboklab(26.1% -0.0005 -0.1417)
OKLCHoklch(26.1% 0.142 269.8)
XYZxyz(2.8607, 1.5131, 12.9706)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1267 #67640F
analogous
#0F3E67 #0F1267 #380F67
triadic
#0F1267 #670F12 #12670F
tetradic
#0F1267 #670F3E #67640F #0F6738
square
#0F1267 #670F3E #67640F #0F6738
split-complementary
#0F1267 #67380F #3E670F
monochromatic
#04051B #070932 #0F1267 #171B9C #1F25D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F1267#FFFFFF#000000##FFFFFF
##0F12671.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)
#002569
Deuteranopia (green-blind)
#001C66
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1267;
/* rgb */ color: rgb(15, 18, 103);
/* oklch */ color: oklch(26.1% 0.142 269.8);
Tailwind
colors: {
  custom: {
    50: '#615193',
    500: '#0f1267',
    950: '#000000',
  },
}
SCSS
$custom: #0f1267;
$custom-light: #615193;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1267",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 237.955,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26095,
    "c": 0.14175,
    "h": 269.8
  },
  "luminance": 0.01513
}

Semantic roles & 50–950 ramp

primary
#0F1267
secondary
#A09C32
accent
#EB37F1
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F1267

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

Preview Lab → · Contrast checker → · Palette generator →

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