#0F1D68#0F1D68

#0F1D68 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.1% C 0.131 H 267.8°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#0F1D68
RGBrgb(15, 29, 104)
HSLhsl(231, 75%, 23%)
HSVhsv(231, 86%, 41%)
CMYKcmyk(85.6%, 72.1%, 0%, 59.2%)
CIE-LABlab(15.38, 25.08, -45.16)
CIE-LCHlch(15.38, 51.66, 299.05°)
OKLaboklab(28.05% -0.005 -0.1308)
OKLCHoklch(28.05% 0.131 267.8)
XYZxyz(3.1342, 1.9794, 13.3109)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D68 #685A0F
analogous
#0F4968 #0F1D68 #2D0F68
triadic
#0F1D68 #680F1D #1D680F
tetradic
#0F1D68 #680F49 #685A0F #0F682D
square
#0F1D68 #680F49 #685A0F #0F682D
split-complementary
#0F1D68 #682D0F #49680F
monochromatic
#04071B #070E33 #0F1D68 #172C9D #1E3BD3

Accessibility & contrast

On white

15.04
#0F1D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F1D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1D68
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D68#FFFFFF#000000##FFFFFF
##0F1D681.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1d68;
/* rgb */ color: rgb(15, 29, 104);
/* oklch */ color: oklch(28.1% 0.131 267.8);
Tailwind
colors: {
  custom: {
    50: '#605994',
    500: '#0f1d68',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d68;
$custom-light: #605994;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d68",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 230.562,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28053,
    "c": 0.13093,
    "h": 267.8
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#0F1D68
secondary
#A18F32
accent
#D436F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #0F1D68

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

Preview Lab → · Contrast checker → · Palette generator →

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