#0F1E68#0F1E68

#0F1E68 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.130 H 267.5°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#0F1E68
RGBrgb(15, 30, 104)
HSLhsl(230, 75%, 23%)
HSVhsv(230, 86%, 41%)
CMYKcmyk(85.6%, 71.2%, 0%, 59.2%)
CIE-LABlab(15.64, 24.38, -44.73)
CIE-LCHlch(15.64, 50.94, 298.59°)
OKLaboklab(28.24% -0.0056 -0.1296)
OKLCHoklch(28.24% 0.13 267.5)
XYZxyz(3.1591, 2.0292, 13.3192)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E68 #68590F
analogous
#0F4A68 #0F1E68 #2C0F68
triadic
#0F1E68 #680F1E #1E680F
tetradic
#0F1E68 #680F4A #68590F #0F682C
square
#0F1E68 #680F4A #68590F #0F682C
split-complementary
#0F1E68 #682C0F #4A680F
monochromatic
#04081B #070F33 #0F1E68 #172D9D #1E3DD3

Accessibility & contrast

On white

14.94
#0F1E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F1E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E68
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E68#FFFFFF#000000##FFFFFF
##0F1E681.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#003240
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f1e68;
/* rgb */ color: rgb(15, 30, 104);
/* oklch */ color: oklch(28.2% 0.130 267.5);
Tailwind
colors: {
  custom: {
    50: '#605994',
    500: '#0f1e68',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e68;
$custom-light: #605994;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e68",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 229.888,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28243,
    "c": 0.12969,
    "h": 267.5
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#0F1E68
secondary
#A18E32
accent
#D236F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #0F1E68

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

Preview Lab → · Contrast checker → · Palette generator →

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