#1C3197#1C3197

#1C3197 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.167 H 267.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#1C3197
RGBrgb(28, 49, 151)
HSLhsl(230, 69%, 35%)
HSVhsv(230, 81%, 59%)
CMYKcmyk(81.5%, 67.5%, 0%, 40.8%)
CIE-LABlab(25.79, 31.03, -57.79)
CIE-LCHlch(25.79, 65.60, 298.24°)
OKLaboklab(37.26% -0.0068 -0.1673)
OKLCHoklch(37.26% 0.167 267.7)
XYZxyz(7.1612, 4.6770, 29.7975)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3197 #97821C
analogous
#1C6F97 #1C3197 #441C97
triadic
#1C3197 #971C31 #31971C
tetradic
#1C3197 #971C6F #97821C #1C9744
square
#1C3197 #971C6F #97821C #1C9744
split-complementary
#1C3197 #97441C #6F971C
monochromatic
#090F30 #122063 #1C3197 #2642CB #4F68DE

Accessibility & contrast

On white

10.85
#1C3197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1C3197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3197
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3197#FFFFFF#000000##FFFFFF
##1C31971.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1c3197;
/* rgb */ color: rgb(28, 49, 151);
/* oklch */ color: oklch(37.3% 0.167 267.7);
Tailwind
colors: {
  custom: {
    50: '#6f69b7',
    500: '#1c3197',
    950: '#000000',
  },
}
SCSS
$custom: #1c3197;
$custom-light: #6f69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3197",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 229.756,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37256,
    "c": 0.16749,
    "h": 267.7
  },
  "luminance": 0.04678
}

Semantic roles & 50–950 ramp

primary
#1C3197
secondary
#C1AD4E
accent
#CE3CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1C3197

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

Preview Lab → · Contrast checker → · Palette generator →

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