#1C298E#1C298E

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

Color values

HEX#1C298E
RGBrgb(28, 41, 142)
HSLhsl(233, 67%, 33%)
HSVhsv(233, 80%, 56%)
CMYKcmyk(80.3%, 71.1%, 0%, 44.3%)
CIE-LABlab(22.95, 32.88, -56.92)
CIE-LCHlch(22.95, 65.73, 300.02°)
OKLaboklab(34.91% -0.002 -0.1648)
OKLCHoklch(34.91% 0.165 269.3)
XYZxyz(6.1526, 3.7850, 25.9923)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C298E #8E811C
analogous
#1C628E #1C298E #481C8E
triadic
#1C298E #8E1C29 #298E1C
tetradic
#1C298E #8E1C62 #8E811C #1C8E48
square
#1C298E #8E1C62 #8E811C #1C8E48
split-complementary
#1C298E #8E481C #628E1C
monochromatic
#080B28 #121A5B #1C298E #2638C1 #495ADB

Accessibility & contrast

On white

11.95
#1C298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C298E
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C298E#FFFFFF#000000##FFFFFF
##1C298E1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c298e;
/* rgb */ color: rgb(28, 41, 142);
/* oklch */ color: oklch(34.9% 0.165 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d63b0',
    500: '#1c298e',
    950: '#000000',
  },
}
SCSS
$custom: #1c298e;
$custom-light: #6d63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c298e",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 233.158,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34913,
    "c": 0.16484,
    "h": 269.3
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#1C298E
secondary
#BDB049
accent
#D63EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C298E

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

Preview Lab → · Contrast checker → · Palette generator →

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