#1C298C#1C298C

#1C298C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.162 H 269.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#1C298C
RGBrgb(28, 41, 140)
HSLhsl(233, 67%, 33%)
HSVhsv(233, 80%, 55%)
CMYKcmyk(80%, 70.7%, 0%, 45.1%)
CIE-LABlab(22.74, 32.14, -56.01)
CIE-LCHlch(22.74, 64.57, 299.84°)
OKLaboklab(34.7% -0.0018 -0.1622)
OKLCHoklch(34.7% 0.162 269.4)
XYZxyz(6.0038, 3.7255, 25.2085)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C298C #8C7F1C
analogous
#1C618C #1C298C #471C8C
triadic
#1C298C #8C1C29 #298C1C
tetradic
#1C298C #8C1C61 #8C7F1C #1C8C47
square
#1C298C #8C1C61 #8C7F1C #1C8C47
split-complementary
#1C298C #8C471C #618C1C
monochromatic
#080B26 #121A59 #1C298C #2638BF #4859DA

Accessibility & contrast

On white

12.03
#1C298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C298C
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C298C#FFFFFF#000000##FFFFFF
##1C298C1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c298c;
/* rgb */ color: rgb(28, 41, 140);
/* oklch */ color: oklch(34.7% 0.162 269.4);
Tailwind
colors: {
  custom: {
    50: '#6d63af',
    500: '#1c298c',
    950: '#000000',
  },
}
SCSS
$custom: #1c298c;
$custom-light: #6d63af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c298c",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 233.036,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34703,
    "c": 0.1622,
    "h": 269.4
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#1C298C
secondary
#BCAF48
accent
#D63EEA
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C298C

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

Preview Lab → · Contrast checker → · Palette generator →

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