#1C2291#1C2291

#1C2291 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.176 H 270.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1C2291
RGBrgb(28, 34, 145)
HSLhsl(237, 68%, 34%)
HSVhsv(237, 81%, 57%)
CMYKcmyk(80.7%, 76.6%, 0%, 43.1%)
CIE-LABlab(21.71, 38.31, -60.83)
CIE-LCHlch(21.71, 71.89, 302.21°)
OKLaboklab(34.12% 0.0006 -0.1762)
OKLCHoklch(34.12% 0.176 270.2)
XYZxyz(6.1600, 3.4346, 27.1209)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2291 #918B1C
analogous
#1C5D91 #1C2291 #511C91
triadic
#1C2291 #911C22 #22911C
tetradic
#1C2291 #911C5D #918B1C #1C9151
square
#1C2291 #911C5D #918B1C #1C9151
split-complementary
#1C2291 #91511C #5D911C
monochromatic
#080A2A #12165E #1C2291 #262EC4 #4B53DC

Accessibility & contrast

On white

12.45
#1C2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1C2291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2291
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2291#FFFFFF#000000##FFFFFF
##1C22911.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#002E8F
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2291;
/* rgb */ color: rgb(28, 34, 145);
/* oklch */ color: oklch(34.1% 0.176 270.2);
Tailwind
colors: {
  custom: {
    50: '#6f5eb2',
    500: '#1c2291',
    950: '#000000',
  },
}
SCSS
$custom: #1c2291;
$custom-light: #6f5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2291",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 236.923,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3412,
    "c": 0.17618,
    "h": 270.2
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#1C2291
secondary
#BEB84A
accent
#E23DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C2291

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

Preview Lab → · Contrast checker → · Palette generator →

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