#1C2F86#1C2F86

#1C2F86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.147 H 268.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#1C2F86
RGBrgb(28, 47, 134)
HSLhsl(229, 65%, 32%)
HSVhsv(229, 79%, 53%)
CMYKcmyk(79.1%, 64.9%, 0%, 47.5%)
CIE-LABlab(23.67, 25.81, -50.74)
CIE-LCHlch(23.67, 56.92, 296.96°)
OKLaboklab(35.21% -0.0049 -0.1467)
OKLCHoklch(35.21% 0.147 268.1)
XYZxyz(5.7970, 4.0005, 23.0163)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F86 #86731C
analogous
#1C6486 #1C2F86 #3E1C86
triadic
#1C2F86 #861C2F #2F861C
tetradic
#1C2F86 #861C64 #86731C #1C863E
square
#1C2F86 #861C64 #86731C #1C863E
split-complementary
#1C2F86 #863E1C #64861C
monochromatic
#070B21 #111D53 #1C2F86 #2741B9 #445FD8

Accessibility & contrast

On white

11.67
#1C2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1C2F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F86
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F86#FFFFFF#000000##FFFFFF
##1C2F861.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c2f86;
/* rgb */ color: rgb(28, 47, 134);
/* oklch */ color: oklch(35.2% 0.147 268.1);
Tailwind
colors: {
  custom: {
    50: '#6b67aa',
    500: '#1c2f86',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f86;
$custom-light: #6b67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f86",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 229.245,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35205,
    "c": 0.14682,
    "h": 268.1
  },
  "luminance": 0.04001
}

Semantic roles & 50–950 ramp

primary
#1C2F86
secondary
#B9A445
accent
#CA3FE8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1C2F86

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

Preview Lab → · Contrast checker → · Palette generator →

#1C2F86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva