#0F1268#0F1268

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

Color values

HEX#0F1268
RGBrgb(15, 18, 104)
HSLhsl(238, 75%, 23%)
HSVhsv(238, 86%, 41%)
CMYKcmyk(85.6%, 82.7%, 0%, 59.2%)
CIE-LABlab(12.82, 32.22, -49.39)
CIE-LCHlch(12.82, 58.97, 303.12°)
OKLaboklab(26.22% -0.0007 -0.143)
OKLCHoklch(26.22% 0.143 269.7)
XYZxyz(2.9111, 1.5333, 13.2365)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1268 #68650F
analogous
#0F3E68 #0F1268 #380F68
triadic
#0F1268 #680F12 #12680F
tetradic
#0F1268 #680F3E #68650F #0F6838
square
#0F1268 #680F3E #68650F #0F6838
split-complementary
#0F1268 #68380F #3E680F
monochromatic
#04051B #070933 #0F1268 #171B9D #1E25D3

Accessibility & contrast

On white

16.07
#0F1268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F1268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1268
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1268#FFFFFF#000000##FFFFFF
##0F12681.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001D67
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1268;
/* rgb */ color: rgb(15, 18, 104);
/* oklch */ color: oklch(26.2% 0.143 269.7);
Tailwind
colors: {
  custom: {
    50: '#615194',
    500: '#0f1268',
    950: '#000000',
  },
}
SCSS
$custom: #0f1268;
$custom-light: #615194;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1268",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 237.978,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26222,
    "c": 0.14305,
    "h": 269.7
  },
  "luminance": 0.01534
}

Semantic roles & 50–950 ramp

primary
#0F1268
secondary
#A19D32
accent
#EB36F1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F1268

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

Preview Lab → · Contrast checker → · Palette generator →

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