#1C398C#1C398C

#1C398C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.142 H 265.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#1C398C
RGBrgb(28, 57, 140)
HSLhsl(224, 67%, 33%)
HSVhsv(224, 80%, 55%)
CMYKcmyk(80%, 59.3%, 0%, 45.1%)
CIE-LABlab(26.92, 21.27, -49.17)
CIE-LCHlch(26.92, 53.57, 293.40°)
OKLaboklab(37.79% -0.0116 -0.142)
OKLCHoklch(37.79% 0.142 265.3)
XYZxyz(6.6740, 5.0658, 25.4319)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C398C #8C6F1C
analogous
#1C718C #1C398C #371C8C
triadic
#1C398C #8C1C39 #398C1C
tetradic
#1C398C #8C1C71 #8C6F1C #1C8C37
square
#1C398C #8C1C71 #8C6F1C #1C8C37
split-complementary
#1C398C #8C371C #718C1C
monochromatic
#080F26 #122459 #1C398C #264EBF #486EDA

Accessibility & contrast

On white

10.43
#1C398C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1C398C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C398C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C398C#FFFFFF#000000##FFFFFF
##1C398C1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1c398c;
/* rgb */ color: rgb(28, 57, 140);
/* oklch */ color: oklch(37.8% 0.142 265.3);
Tailwind
colors: {
  custom: {
    50: '#6b6eae',
    500: '#1c398c',
    950: '#000000',
  },
}
SCSS
$custom: #1c398c;
$custom-light: #6b6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c398c",
  "rgb": {
    "r": 28,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 224.464,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.14246,
    "h": 265.3
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#1C398C
secondary
#BC9E48
accent
#BD3EEA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1C398C

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

Preview Lab → · Contrast checker → · Palette generator →

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