#1C2874#1C2874

#1C2874 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.130 H 270.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#1C2874
RGBrgb(28, 40, 116)
HSLhsl(232, 61%, 28%)
HSVhsv(232, 76%, 45%)
CMYKcmyk(75.9%, 65.5%, 0%, 54.5%)
CIE-LABlab(20.14, 23.59, -45.11)
CIE-LCHlch(20.14, 50.90, 297.61°)
OKLaboklab(32.09% 0.0006 -0.1303)
OKLCHoklch(32.09% 0.13 270.2)
XYZxyz(4.3890, 3.0250, 16.8722)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2874 #74681C
analogous
#1C5474 #1C2874 #3C1C74
triadic
#1C2874 #741C28 #28741C
tetradic
#1C2874 #741C54 #74681C #1C743C
square
#1C2874 #741C54 #74681C #1C743C
split-complementary
#1C2874 #743C1C #54741C
monochromatic
#060919 #101743 #1C2874 #2839A5 #3B4FD0

Accessibility & contrast

On white

13.08
#1C2874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1C2874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2874
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2874#FFFFFF#000000##FFFFFF
##1C28741.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2874;
/* rgb */ color: rgb(28, 40, 116);
/* oklch */ color: oklch(32.1% 0.130 270.2);
Tailwind
colors: {
  custom: {
    50: '#66619d',
    500: '#1c2874',
    950: '#000000',
  },
}
SCSS
$custom: #1c2874;
$custom-light: #66619d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2874",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 231.818,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32089,
    "c": 0.13031,
    "h": 270.2
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#1C2874
secondary
#A89B43
accent
#CE44E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1C2874

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

Preview Lab → · Contrast checker → · Palette generator →

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