#1C398A#1C398A

#1C398A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.140 H 265.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#1C398A
RGBrgb(28, 57, 138)
HSLhsl(224, 66%, 33%)
HSVhsv(224, 80%, 54%)
CMYKcmyk(79.7%, 58.7%, 0%, 45.9%)
CIE-LABlab(26.76, 20.47, -48.20)
CIE-LCHlch(26.76, 52.36, 293.01°)
OKLaboklab(37.61% -0.0117 -0.1391)
OKLCHoklch(37.61% 0.14 265.2)
XYZxyz(6.5278, 5.0074, 24.6623)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C398A #8A6D1C
analogous
#1C708A #1C398A #361C8A
triadic
#1C398A #8A1C39 #398A1C
tetradic
#1C398A #8A1C70 #8A6D1C #1C8A36
square
#1C398A #8A1C70 #8A6D1C #1C8A36
split-complementary
#1C398A #8A361C #708A1C
monochromatic
#070F24 #122457 #1C398A #264EBD #476DDA

Accessibility & contrast

On white

10.49
#1C398A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1C398A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C398A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C398A#FFFFFF#000000##FFFFFF
##1C398A1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1c398a;
/* rgb */ color: rgb(28, 57, 138);
/* oklch */ color: oklch(37.6% 0.140 265.2);
Tailwind
colors: {
  custom: {
    50: '#6b6ead',
    500: '#1c398a',
    950: '#000000',
  },
}
SCSS
$custom: #1c398a;
$custom-light: #6b6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1c398a",
  "rgb": {
    "r": 28,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 224.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37609,
    "c": 0.13964,
    "h": 265.2
  },
  "luminance": 0.05008
}

Semantic roles & 50–950 ramp

primary
#1C398A
secondary
#BB9D46
accent
#BC3FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1C398A

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

Preview Lab → · Contrast checker → · Palette generator →

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