#1C298D#1C298D

#1C298D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.164 H 269.3°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1C298D
RGBrgb(28, 41, 141)
HSLhsl(233, 67%, 33%)
HSVhsv(233, 80%, 55%)
CMYKcmyk(80.1%, 70.9%, 0%, 44.7%)
CIE-LABlab(22.84, 32.51, -56.46)
CIE-LCHlch(22.84, 65.15, 299.93°)
OKLaboklab(34.81% -0.0019 -0.1635)
OKLCHoklch(34.81% 0.164 269.3)
XYZxyz(6.0779, 3.7552, 25.5986)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C298D #8D801C
analogous
#1C618D #1C298D #471C8D
triadic
#1C298D #8D1C29 #298D1C
tetradic
#1C298D #8D1C61 #8D801C #1C8D47
square
#1C298D #8D1C61 #8D801C #1C8D47
split-complementary
#1C298D #8D471C #618D1C
monochromatic
#080B27 #121A5A #1C298D #2638C0 #4959DB

Accessibility & contrast

On white

11.99
#1C298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1C298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C298D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C298D#FFFFFF#000000##FFFFFF
##1C298D1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c298d;
/* rgb */ color: rgb(28, 41, 141);
/* oklch */ color: oklch(34.8% 0.164 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d63af',
    500: '#1c298d',
    950: '#000000',
  },
}
SCSS
$custom: #1c298d;
$custom-light: #6d63af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c298d",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 233.097,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.16352,
    "h": 269.3
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#1C298D
secondary
#BDAF48
accent
#D63EEA
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C298D

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

Preview Lab → · Contrast checker → · Palette generator →

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