#1C3397#1C3397

#1C3397 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.165 H 267.3°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#1C3397
RGBrgb(28, 51, 151)
HSLhsl(229, 69%, 35%)
HSVhsv(229, 81%, 59%)
CMYKcmyk(81.5%, 66.2%, 0%, 40.8%)
CIE-LABlab(26.30, 29.70, -56.96)
CIE-LCHlch(26.30, 64.24, 297.54°)
OKLaboklab(37.63% -0.0078 -0.1649)
OKLCHoklch(37.63% 0.165 267.3)
XYZxyz(7.2467, 4.8480, 29.8260)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3397 #97801C
analogous
#1C7197 #1C3397 #421C97
triadic
#1C3397 #971C33 #33971C
tetradic
#1C3397 #971C71 #97801C #1C9742
square
#1C3397 #971C71 #97801C #1C9742
split-complementary
#1C3397 #97421C #71971C
monochromatic
#091030 #122263 #1C3397 #2644CB #4F6ADE

Accessibility & contrast

On white

10.66
#1C3397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1C3397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3397
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3397#FFFFFF#000000##FFFFFF
##1C33971.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1c3397;
/* rgb */ color: rgb(28, 51, 151);
/* oklch */ color: oklch(37.6% 0.165 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f6ab7',
    500: '#1c3397',
    950: '#000000',
  },
}
SCSS
$custom: #1c3397;
$custom-light: #6f6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3397",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 228.78,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37625,
    "c": 0.16511,
    "h": 267.3
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#1C3397
secondary
#C1AB4E
accent
#CB3CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1C3397

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

Preview Lab → · Contrast checker → · Palette generator →

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