#1C237E#1C237E

#1C237E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.150 H 271.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#1C237E
RGBrgb(28, 35, 126)
HSLhsl(236, 64%, 30%)
HSVhsv(236, 78%, 49%)
CMYKcmyk(77.8%, 72.2%, 0%, 50.6%)
CIE-LABlab(19.86, 30.81, -51.95)
CIE-LCHlch(19.86, 60.40, 300.67°)
OKLaboklab(32.19% 0.003 -0.1504)
OKLCHoklch(32.19% 0.15 271.1)
XYZxyz(4.8445, 2.9548, 20.0496)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C237E #7E771C
analogous
#1C547E #1C237E #461C7E
triadic
#1C237E #7E1C23 #237E1C
tetradic
#1C237E #7E1C54 #7E771C #1C7E46
square
#1C237E #7E1C54 #7E771C #1C7E46
split-complementary
#1C237E #7E461C #547E1C
monochromatic
#06071A #11154C #1C237E #2731B0 #404AD5

Accessibility & contrast

On white

13.20
#1C237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1C237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C237E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C237E#FFFFFF#000000##FFFFFF
##1C237E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c237e;
/* rgb */ color: rgb(28, 35, 126);
/* oklch */ color: oklch(32.2% 0.150 271.1);
Tailwind
colors: {
  custom: {
    50: '#6a5ea4',
    500: '#1c237e',
    950: '#000000',
  },
}
SCSS
$custom: #1c237e;
$custom-light: #6a5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c237e",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 235.714,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32185,
    "c": 0.15038,
    "h": 271.1
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#1C237E
secondary
#B2AA44
accent
#DB41E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C237E

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

Preview Lab → · Contrast checker → · Palette generator →

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