#1C2F87#1C2F87

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

Color values

HEX#1C2F87
RGBrgb(28, 47, 135)
HSLhsl(229, 66%, 32%)
HSVhsv(229, 79%, 53%)
CMYKcmyk(79.3%, 65.2%, 0%, 47.1%)
CIE-LABlab(23.77, 26.20, -51.21)
CIE-LCHlch(23.77, 57.53, 297.10°)
OKLaboklab(35.3% -0.0049 -0.1481)
OKLCHoklch(35.3% 0.148 268.1)
XYZxyz(5.8671, 4.0285, 23.3853)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F87 #87741C
analogous
#1C6587 #1C2F87 #3F1C87
triadic
#1C2F87 #871C2F #2F871C
tetradic
#1C2F87 #871C65 #87741C #1C873F
square
#1C2F87 #871C65 #87741C #1C873F
split-complementary
#1C2F87 #873F1C #65871C
monochromatic
#070C22 #111D54 #1C2F87 #2741BA #455FD8

Accessibility & contrast

On white

11.63
#1C2F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1C2F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F87
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F87#FFFFFF#000000##FFFFFF
##1C2F871.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c2f87;
/* rgb */ color: rgb(28, 47, 135);
/* oklch */ color: oklch(35.3% 0.148 268.1);
Tailwind
colors: {
  custom: {
    50: '#6b67ab',
    500: '#1c2f87',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f87;
$custom-light: #6b67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f87",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 229.346,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35302,
    "c": 0.14821,
    "h": 268.1
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#1C2F87
secondary
#BAA545
accent
#CB3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1C2F87

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

Preview Lab → · Contrast checker → · Palette generator →

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