#1C3291#1C3291

#1C3291 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.158 H 267.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#1C3291
RGBrgb(28, 50, 145)
HSLhsl(229, 68%, 34%)
HSVhsv(229, 81%, 57%)
CMYKcmyk(80.7%, 65.5%, 0%, 43.1%)
CIE-LABlab(25.48, 28.05, -54.62)
CIE-LCHlch(25.48, 61.40, 297.19°)
OKLaboklab(36.85% -0.007 -0.1581)
OKLCHoklch(36.85% 0.158 267.5)
XYZxyz(6.7285, 4.5716, 27.3104)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3291 #917B1C
analogous
#1C6D91 #1C3291 #411C91
triadic
#1C3291 #911C32 #32911C
tetradic
#1C3291 #911C6D #917B1C #1C9141
square
#1C3291 #911C6D #917B1C #1C9141
split-complementary
#1C3291 #91411C #6D911C
monochromatic
#080F2A #12205E #1C3291 #2644C4 #4B66DC

Accessibility & contrast

On white

10.97
#1C3291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1C3291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3291
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3291#FFFFFF#000000##FFFFFF
##1C32911.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c3291;
/* rgb */ color: rgb(28, 50, 145);
/* oklch */ color: oklch(36.8% 0.158 267.5);
Tailwind
colors: {
  custom: {
    50: '#6d69b2',
    500: '#1c3291',
    950: '#000000',
  },
}
SCSS
$custom: #1c3291;
$custom-light: #6d69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3291",
  "rgb": {
    "r": 28,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 228.718,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36849,
    "c": 0.15822,
    "h": 267.5
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#1C3291
secondary
#BEA94A
accent
#CA3DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1C3291

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

Preview Lab → · Contrast checker → · Palette generator →

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