#1C2297#1C2297

#1C2297 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.184 H 269.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1C2297
RGBrgb(28, 34, 151)
HSLhsl(237, 69%, 35%)
HSVhsv(237, 81%, 59%)
CMYKcmyk(81.5%, 77.5%, 0%, 40.8%)
CIE-LABlab(22.39, 40.40, -63.41)
CIE-LCHlch(22.39, 75.18, 302.51°)
OKLaboklab(34.81% -0.0004 -0.1837)
OKLCHoklch(34.81% 0.184 269.9)
XYZxyz(6.6349, 3.6245, 29.6221)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2297 #97911C
analogous
#1C6097 #1C2297 #531C97
triadic
#1C2297 #971C22 #22971C
tetradic
#1C2297 #971C60 #97911C #1C9753
square
#1C2297 #971C60 #97911C #1C9753
split-complementary
#1C2297 #97531C #60971C
monochromatic
#090B30 #121663 #1C2297 #262ECB #4F56DE

Accessibility & contrast

On white

12.17
#1C2297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1C2297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2297
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2297#FFFFFF#000000##FFFFFF
##1C22971.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2297;
/* rgb */ color: rgb(28, 34, 151);
/* oklch */ color: oklch(34.8% 0.184 269.9);
Tailwind
colors: {
  custom: {
    50: '#705fb7',
    500: '#1c2297',
    950: '#000000',
  },
}
SCSS
$custom: #1c2297;
$custom-light: #705fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2297",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 237.073,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34805,
    "c": 0.18366,
    "h": 269.9
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#1C2297
secondary
#C1BB4E
accent
#E33CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C2297

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

Preview Lab → · Contrast checker → · Palette generator →

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