#1C1E7D#1C1E7D

#1C1E7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.155 H 272.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#1C1E7D
RGBrgb(28, 30, 125)
HSLhsl(239, 63%, 30%)
HSVhsv(239, 78%, 49%)
CMYKcmyk(77.6%, 76%, 0%, 51%)
CIE-LABlab(18.61, 33.61, -53.38)
CIE-LCHlch(18.61, 63.08, 302.20°)
OKLaboklab(31.25% 0.0058 -0.1545)
OKLCHoklch(31.25% 0.155 272.1)
XYZxyz(4.6436, 2.6556, 19.6659)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1E7D #7D7B1C
analogous
#1C4E7D #1C1E7D #4B1C7D
triadic
#1C1E7D #7D1C1E #1E7D1C
tetradic
#1C1E7D #7D1C4E #7D7B1C #1C7D4B
square
#1C1E7D #7D1C4E #7D7B1C #1C7D4B
split-complementary
#1C1E7D #7D4B1C #4E7D1C
monochromatic
#060619 #11124B #1C1E7D #272AAF #3F42D4

Accessibility & contrast

On white

13.71
#1C1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1C1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1E7D
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1E7D#FFFFFF#000000##FFFFFF
##1C1E7D1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c1e7d;
/* rgb */ color: rgb(28, 30, 125);
/* oklch */ color: oklch(31.3% 0.155 272.1);
Tailwind
colors: {
  custom: {
    50: '#6a5ba4',
    500: '#1c1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #1c1e7d;
$custom-light: #6a5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1e7d",
  "rgb": {
    "r": 28,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 238.763,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.31254,
    "c": 0.15462,
    "h": 272.1
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#1C1E7D
secondary
#B1AE44
accent
#E341E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1C1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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