#1C1FB3#1C1FB3

#1C1FB3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.219 H 268.7°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#1C1FB3
RGBrgb(28, 31, 179)
HSLhsl(239, 73%, 41%)
HSVhsv(239, 84%, 70%)
CMYKcmyk(84.4%, 82.7%, 0%, 29.8%)
CIE-LABlab(25.20, 51.17, -75.73)
CIE-LCHlch(25.20, 91.40, 304.05°)
OKLaboklab(37.74% -0.0049 -0.2193)
OKLCHoklch(37.74% 0.219 268.7)
XYZxyz(9.1028, 4.4804, 43.0241)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1FB3 #B3B01C
analogous
#1C6AB3 #1C1FB3 #641CB3
triadic
#1C1FB3 #B31C1F #1FB31C
tetradic
#1C1FB3 #B31C6A #B3B01C #1CB364
square
#1C1FB3 #B31C6A #B3B01C #1CB364
split-complementary
#1C1FB3 #B3641C #6AB31C
monochromatic
#0B0D49 #14167E #1C1FB3 #2E31DE #6365E7

Accessibility & contrast

On white

11.07
#1C1FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1C1FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1FB3
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1FB3#FFFFFF#000000##FFFFFF
##1C1FB31.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c1fb3;
/* rgb */ color: rgb(28, 31, 179);
/* oklch */ color: oklch(37.7% 0.219 268.7);
Tailwind
colors: {
  custom: {
    50: '#785fcb',
    500: '#1c1fb3',
    950: '#000000',
  },
}
SCSS
$custom: #1c1fb3;
$custom-light: #785fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1fb3",
  "rgb": {
    "r": 28,
    "g": 31,
    "b": 179
  },
  "hsl": {
    "h": 238.808,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3774,
    "c": 0.21935,
    "h": 268.7
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#1C1FB3
secondary
#CBC95F
accent
#EC38F0
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #1C1FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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