#1C298A#1C298A

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

Color values

HEX#1C298A
RGBrgb(28, 41, 138)
HSLhsl(233, 66%, 33%)
HSVhsv(233, 80%, 54%)
CMYKcmyk(79.7%, 70.3%, 0%, 45.9%)
CIE-LABlab(22.54, 31.38, -55.10)
CIE-LCHlch(22.54, 63.41, 299.67°)
OKLaboklab(34.49% -0.0016 -0.1595)
OKLCHoklch(34.49% 0.16 269.4)
XYZxyz(5.8577, 3.6671, 24.4389)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C298A #8A7D1C
analogous
#1C608A #1C298A #461C8A
triadic
#1C298A #8A1C29 #298A1C
tetradic
#1C298A #8A1C60 #8A7D1C #1C8A46
square
#1C298A #8A1C60 #8A7D1C #1C8A46
split-complementary
#1C298A #8A461C #608A1C
monochromatic
#070B24 #121A57 #1C298A #2638BD #4758DA

Accessibility & contrast

On white

12.11
#1C298A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1C298A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C298A
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C298A#FFFFFF#000000##FFFFFF
##1C298A1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c298a;
/* rgb */ color: rgb(28, 41, 138);
/* oklch */ color: oklch(34.5% 0.160 269.4);
Tailwind
colors: {
  custom: {
    50: '#6c63ad',
    500: '#1c298a',
    950: '#000000',
  },
}
SCSS
$custom: #1c298a;
$custom-light: #6c63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c298a",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 232.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34494,
    "c": 0.15954,
    "h": 269.4
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#1C298A
secondary
#BBAE46
accent
#D53FE9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C298A

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

Preview Lab → · Contrast checker → · Palette generator →

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