#1C1F91#1C1F91

#1C1F91 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.179 H 270.5°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#1C1F91
RGBrgb(28, 31, 145)
HSLhsl(238, 68%, 34%)
HSVhsv(238, 81%, 57%)
CMYKcmyk(80.7%, 78.6%, 0%, 43.1%)
CIE-LABlab(21.10, 40.05, -61.84)
CIE-LCHlch(21.10, 73.67, 302.93°)
OKLaboklab(33.69% 0.0017 -0.1791)
OKLCHoklch(33.69% 0.179 270.5)
XYZxyz(6.0780, 3.2705, 27.0935)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1F91 #918E1C
analogous
#1C5A91 #1C1F91 #541C91
triadic
#1C1F91 #911C1F #1F911C
tetradic
#1C1F91 #911C5A #918E1C #1C9154
square
#1C1F91 #911C5A #918E1C #1C9154
split-complementary
#1C1F91 #91541C #5A911C
monochromatic
#08092A #12145E #1C1F91 #262AC4 #4B4FDC

Accessibility & contrast

On white

12.69
#1C1F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1C1F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1F91
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1F91#FFFFFF#000000##FFFFFF
##1C1F911.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003894
Deuteranopia (green-blind)
#002D8F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c1f91;
/* rgb */ color: rgb(28, 31, 145);
/* oklch */ color: oklch(33.7% 0.179 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f5db3',
    500: '#1c1f91',
    950: '#000000',
  },
}
SCSS
$custom: #1c1f91;
$custom-light: #6f5db3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1f91",
  "rgb": {
    "r": 28,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 238.462,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33688,
    "c": 0.17909,
    "h": 270.5
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#1C1F91
secondary
#BEBB4A
accent
#E63DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C1F91

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

Preview Lab → · Contrast checker → · Palette generator →

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