#0F1C68#0F1C68

#0F1C68 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.132 H 268.0°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#0F1C68
RGBrgb(15, 28, 104)
HSLhsl(231, 75%, 23%)
HSVhsv(231, 86%, 41%)
CMYKcmyk(85.6%, 73.1%, 0%, 59.2%)
CIE-LABlab(15.12, 25.78, -45.58)
CIE-LCHlch(15.12, 52.37, 299.49°)
OKLaboklab(27.87% -0.0046 -0.1321)
OKLCHoklch(27.87% 0.132 268)
XYZxyz(3.1101, 1.9312, 13.3029)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1C68 #685B0F
analogous
#0F4868 #0F1C68 #2E0F68
triadic
#0F1C68 #680F1C #1C680F
tetradic
#0F1C68 #680F48 #685B0F #0F682E
square
#0F1C68 #680F48 #685B0F #0F682E
split-complementary
#0F1C68 #682E0F #48680F
monochromatic
#04071B #070E33 #0F1C68 #172A9D #1E39D3

Accessibility & contrast

On white

15.15
#0F1C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0F1C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1C68
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1C68#FFFFFF#000000##FFFFFF
##0F1C681.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f1c68;
/* rgb */ color: rgb(15, 28, 104);
/* oklch */ color: oklch(27.9% 0.132 268.0);
Tailwind
colors: {
  custom: {
    50: '#605894',
    500: '#0f1c68',
    950: '#000000',
  },
}
SCSS
$custom: #0f1c68;
$custom-light: #605894;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1c68",
  "rgb": {
    "r": 15,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 231.236,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27867,
    "c": 0.13214,
    "h": 268
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#0F1C68
secondary
#A19032
accent
#D636F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #0F1C68

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

Preview Lab → · Contrast checker → · Palette generator →

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