#1C298F#1C298F

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

Color values

HEX#1C298F
RGBrgb(28, 41, 143)
HSLhsl(233, 67%, 34%)
HSVhsv(233, 80%, 56%)
CMYKcmyk(80.4%, 71.3%, 0%, 43.9%)
CIE-LABlab(23.05, 33.25, -57.37)
CIE-LCHlch(23.05, 66.31, 300.10°)
OKLaboklab(35.02% -0.0021 -0.1661)
OKLCHoklch(35.02% 0.166 269.3)
XYZxyz(6.2280, 3.8152, 26.3894)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C298F #8F821C
analogous
#1C628F #1C298F #481C8F
triadic
#1C298F #8F1C29 #298F1C
tetradic
#1C298F #8F1C62 #8F821C #1C8F48
square
#1C298F #8F1C62 #8F821C #1C8F48
split-complementary
#1C298F #8F481C #628F1C
monochromatic
#080C29 #121A5C #1C298F #2638C2 #4A5ADC

Accessibility & contrast

On white

11.91
#1C298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1C298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C298F
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C298F#FFFFFF#000000##FFFFFF
##1C298F1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c298f;
/* rgb */ color: rgb(28, 41, 143);
/* oklch */ color: oklch(35.0% 0.166 269.3);
Tailwind
colors: {
  custom: {
    50: '#6e63b1',
    500: '#1c298f',
    950: '#000000',
  },
}
SCSS
$custom: #1c298f;
$custom-light: #6e63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c298f",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 233.217,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35019,
    "c": 0.16615,
    "h": 269.3
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#1C298F
secondary
#BEB049
accent
#D73EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C298F

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

Preview Lab → · Contrast checker → · Palette generator →

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