#1C398D#1C398D

#1C398D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.144 H 265.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#1C398D
RGBrgb(28, 57, 141)
HSLhsl(225, 67%, 33%)
HSVhsv(225, 80%, 55%)
CMYKcmyk(80.1%, 59.6%, 0%, 44.7%)
CIE-LABlab(27.00, 21.67, -49.65)
CIE-LCHlch(27.00, 54.17, 293.58°)
OKLaboklab(37.87% -0.0115 -0.1434)
OKLCHoklch(37.87% 0.144 265.4)
XYZxyz(6.7480, 5.0954, 25.8220)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C398D #8D701C
analogous
#1C718D #1C398D #371C8D
triadic
#1C398D #8D1C39 #398D1C
tetradic
#1C398D #8D1C71 #8D701C #1C8D37
square
#1C398D #8D1C71 #8D701C #1C8D37
split-complementary
#1C398D #8D371C #718D1C
monochromatic
#081027 #12245A #1C398D #264EC0 #496EDB

Accessibility & contrast

On white

10.40
#1C398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1C398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C398D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C398D#FFFFFF#000000##FFFFFF
##1C398D1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1c398d;
/* rgb */ color: rgb(28, 57, 141);
/* oklch */ color: oklch(37.9% 0.144 265.4);
Tailwind
colors: {
  custom: {
    50: '#6c6eaf',
    500: '#1c398d',
    950: '#000000',
  },
}
SCSS
$custom: #1c398d;
$custom-light: #6c6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1c398d",
  "rgb": {
    "r": 28,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 224.602,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37874,
    "c": 0.14387,
    "h": 265.4
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#1C398D
secondary
#BD9F48
accent
#BE3EEA
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1C398D

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

Preview Lab → · Contrast checker → · Palette generator →

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