#0F1C6A#0F1C6A

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

Color values

HEX#0F1C6A
RGBrgb(15, 28, 106)
HSLhsl(231, 75%, 24%)
HSVhsv(231, 86%, 42%)
CMYKcmyk(85.8%, 73.6%, 0%, 58.4%)
CIE-LABlab(15.34, 26.58, -46.53)
CIE-LCHlch(15.34, 53.59, 299.73°)
OKLaboklab(28.09% -0.0048 -0.1348)
OKLCHoklch(28.09% 0.135 268)
XYZxyz(3.2129, 1.9723, 13.8442)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1C6A #6A5D0F
analogous
#0F496A #0F1C6A #2F0F6A
triadic
#0F1C6A #6A0F1C #1C6A0F
tetradic
#0F1C6A #6A0F49 #6A5D0F #0F6A2F
square
#0F1C6A #6A0F49 #6A5D0F #0F6A2F
split-complementary
#0F1C6A #6A2F0F #496A0F
monochromatic
#04071B #070E34 #0F1C6A #172AA0 #1E38D5

Accessibility & contrast

On white

15.06
#0F1C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1C6A
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1C6A#FFFFFF#000000##FFFFFF
##0F1C6A1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1c6a;
/* rgb */ color: rgb(15, 28, 106);
/* oklch */ color: oklch(28.1% 0.135 268.0);
Tailwind
colors: {
  custom: {
    50: '#615896',
    500: '#0f1c6a',
    950: '#000000',
  },
}
SCSS
$custom: #0f1c6a;
$custom-light: #615896;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1c6a",
  "rgb": {
    "r": 15,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 231.429,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28091,
    "c": 0.13491,
    "h": 268
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#0F1C6A
secondary
#A29232
accent
#D736F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #0F1C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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