#0F1F68#0F1F68

#0F1F68 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.4% C 0.128 H 267.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#0F1F68
RGBrgb(15, 31, 104)
HSLhsl(229, 75%, 23%)
HSVhsv(229, 86%, 41%)
CMYKcmyk(85.6%, 70.2%, 0%, 59.2%)
CIE-LABlab(15.90, 23.67, -44.30)
CIE-LCHlch(15.90, 50.23, 298.12°)
OKLaboklab(28.44% -0.0061 -0.1283)
OKLCHoklch(28.44% 0.128 267.3)
XYZxyz(3.1848, 2.0806, 13.3278)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1F68 #68580F
analogous
#0F4B68 #0F1F68 #2B0F68
triadic
#0F1F68 #680F1F #1F680F
tetradic
#0F1F68 #680F4B #68580F #0F682B
square
#0F1F68 #680F4B #68580F #0F682B
split-complementary
#0F1F68 #682B0F #4B680F
monochromatic
#04081B #070F33 #0F1F68 #172F9D #1E3FD3

Accessibility & contrast

On white

14.83
#0F1F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F1F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1F68
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1F68#FFFFFF#000000##FFFFFF
##0F1F681.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f1f68;
/* rgb */ color: rgb(15, 31, 104);
/* oklch */ color: oklch(28.4% 0.128 267.3);
Tailwind
colors: {
  custom: {
    50: '#605a94',
    500: '#0f1f68',
    950: '#000000',
  },
}
SCSS
$custom: #0f1f68;
$custom-light: #605a94;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1f68",
  "rgb": {
    "r": 15,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 229.213,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28437,
    "c": 0.12843,
    "h": 267.3
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#0F1F68
secondary
#A18D32
accent
#D036F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #0F1F68

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

Preview Lab → · Contrast checker → · Palette generator →

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