#1C397E#1C397E

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

Color values

HEX#1C397E
RGBrgb(28, 57, 126)
HSLhsl(222, 64%, 30%)
HSVhsv(222, 78%, 49%)
CMYKcmyk(77.8%, 54.8%, 0%, 50.6%)
CIE-LABlab(25.80, 15.62, -42.26)
CIE-LCHlch(25.80, 45.05, 290.28°)
OKLaboklab(36.59% -0.0126 -0.1217)
OKLCHoklch(36.59% 0.122 264.1)
XYZxyz(5.7066, 4.6789, 20.3370)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C397E #7E611C
analogous
#1C6A7E #1C397E #301C7E
triadic
#1C397E #7E1C39 #397E1C
tetradic
#1C397E #7E1C6A #7E611C #1C7E30
square
#1C397E #7E1C6A #7E611C #1C7E30
split-complementary
#1C397E #7E301C #6A7E1C
monochromatic
#060C1A #11224C #1C397E #2750B0 #406CD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C397E#FFFFFF#000000##FFFFFF
##1C397E1.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)
#074280
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1c397e;
/* rgb */ color: rgb(28, 57, 126);
/* oklch */ color: oklch(36.6% 0.122 264.1);
Tailwind
colors: {
  custom: {
    50: '#686ea4',
    500: '#1c397e',
    950: '#000000',
  },
}
SCSS
$custom: #1c397e;
$custom-light: #686ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c397e",
  "rgb": {
    "r": 28,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 222.245,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36586,
    "c": 0.12233,
    "h": 264.1
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#1C397E
secondary
#B29144
accent
#B641E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1C397E

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

Preview Lab → · Contrast checker → · Palette generator →

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