#1C3297#1C3297

#1C3297 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.166 H 267.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#1C3297
RGBrgb(28, 50, 151)
HSLhsl(229, 69%, 35%)
HSVhsv(229, 81%, 59%)
CMYKcmyk(81.5%, 66.9%, 0%, 40.8%)
CIE-LABlab(26.04, 30.37, -57.38)
CIE-LCHlch(26.04, 64.92, 297.89°)
OKLaboklab(37.44% -0.0073 -0.1661)
OKLCHoklch(37.44% 0.166 267.5)
XYZxyz(7.2035, 4.7616, 29.8116)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3297 #97811C
analogous
#1C7097 #1C3297 #431C97
triadic
#1C3297 #971C32 #32971C
tetradic
#1C3297 #971C70 #97811C #1C9743
square
#1C3297 #971C70 #97811C #1C9743
split-complementary
#1C3297 #97431C #70971C
monochromatic
#091030 #122163 #1C3297 #2643CB #4F69DE

Accessibility & contrast

On white

10.76
#1C3297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1C3297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3297
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3297#FFFFFF#000000##FFFFFF
##1C32971.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c3297;
/* rgb */ color: rgb(28, 50, 151);
/* oklch */ color: oklch(37.4% 0.166 267.5);
Tailwind
colors: {
  custom: {
    50: '#6f69b7',
    500: '#1c3297',
    950: '#000000',
  },
}
SCSS
$custom: #1c3297;
$custom-light: #6f69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3297",
  "rgb": {
    "r": 28,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 229.268,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37439,
    "c": 0.1663,
    "h": 267.5
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#1C3297
secondary
#C1AC4E
accent
#CC3CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1C3297

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

Preview Lab → · Contrast checker → · Palette generator →

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