#1C398B#1C398B

#1C398B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.141 H 265.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#1C398B
RGBrgb(28, 57, 139)
HSLhsl(224, 66%, 33%)
HSVhsv(224, 80%, 55%)
CMYKcmyk(79.9%, 59%, 0%, 45.5%)
CIE-LABlab(26.84, 20.87, -48.68)
CIE-LCHlch(26.84, 52.97, 293.20°)
OKLaboklab(37.7% -0.0116 -0.1406)
OKLCHoklch(37.7% 0.141 265.3)
XYZxyz(6.6006, 5.0365, 25.0453)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C398B #8B6E1C
analogous
#1C718B #1C398B #361C8B
triadic
#1C398B #8B1C39 #398B1C
tetradic
#1C398B #8B1C71 #8B6E1C #1C8B36
square
#1C398B #8B1C71 #8B6E1C #1C8B36
split-complementary
#1C398B #8B361C #718B1C
monochromatic
#070F25 #122458 #1C398B #264EBE #476EDA

Accessibility & contrast

On white

10.46
#1C398B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C398B
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C398B#FFFFFF#000000##FFFFFF
##1C398B1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1c398b;
/* rgb */ color: rgb(28, 57, 139);
/* oklch */ color: oklch(37.7% 0.141 265.3);
Tailwind
colors: {
  custom: {
    50: '#6b6eae',
    500: '#1c398b',
    950: '#000000',
  },
}
SCSS
$custom: #1c398b;
$custom-light: #6b6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c398b",
  "rgb": {
    "r": 28,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 224.324,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37697,
    "c": 0.14105,
    "h": 265.3
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#1C398B
secondary
#BC9D47
accent
#BD3EE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1C398B

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

Preview Lab → · Contrast checker → · Palette generator →

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