#0F1A68#0F1A68

#0F1A68 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.135 H 268.4°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#0F1A68
RGBrgb(15, 26, 104)
HSLhsl(233, 75%, 23%)
HSVhsv(233, 86%, 41%)
CMYKcmyk(85.6%, 75%, 0%, 59.2%)
CIE-LABlab(14.62, 27.15, -46.41)
CIE-LCHlch(14.62, 53.76, 300.32°)
OKLaboklab(27.51% -0.0036 -0.1345)
OKLCHoklch(27.51% 0.135 268.4)
XYZxyz(3.0642, 1.8395, 13.2876)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A68 #685D0F
analogous
#0F4668 #0F1A68 #300F68
triadic
#0F1A68 #680F1A #1A680F
tetradic
#0F1A68 #680F46 #685D0F #0F6830
square
#0F1A68 #680F46 #685D0F #0F6830
split-complementary
#0F1A68 #68300F #46680F
monochromatic
#04071B #070D33 #0F1A68 #17279D #1E35D3

Accessibility & contrast

On white

15.35
#0F1A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F1A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A68
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A68#FFFFFF#000000##FFFFFF
##0F1A681.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002167
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f1a68;
/* rgb */ color: rgb(15, 26, 104);
/* oklch */ color: oklch(27.5% 0.135 268.4);
Tailwind
colors: {
  custom: {
    50: '#605794',
    500: '#0f1a68',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a68;
$custom-light: #605794;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a68",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 232.584,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27505,
    "c": 0.13452,
    "h": 268.4
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#0F1A68
secondary
#A19332
accent
#DA36F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #0F1A68

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

Preview Lab → · Contrast checker → · Palette generator →

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