#1C298B#1C298B

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

Color values

HEX#1C298B
RGBrgb(28, 41, 139)
HSLhsl(233, 66%, 33%)
HSVhsv(233, 80%, 55%)
CMYKcmyk(79.9%, 70.5%, 0%, 45.5%)
CIE-LABlab(22.64, 31.76, -55.56)
CIE-LCHlch(22.64, 63.99, 299.76°)
OKLaboklab(34.6% -0.0017 -0.1609)
OKLCHoklch(34.6% 0.161 269.4)
XYZxyz(5.9304, 3.6962, 24.8220)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C298B #8B7E1C
analogous
#1C608B #1C298B #461C8B
triadic
#1C298B #8B1C29 #298B1C
tetradic
#1C298B #8B1C60 #8B7E1C #1C8B46
square
#1C298B #8B1C60 #8B7E1C #1C8B46
split-complementary
#1C298B #8B461C #608B1C
monochromatic
#070B25 #121A58 #1C298B #2638BE #4759DA

Accessibility & contrast

On white

12.07
#1C298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1C298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C298B
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C298B#FFFFFF#000000##FFFFFF
##1C298B1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c298b;
/* rgb */ color: rgb(28, 41, 139);
/* oklch */ color: oklch(34.6% 0.161 269.4);
Tailwind
colors: {
  custom: {
    50: '#6d63ae',
    500: '#1c298b',
    950: '#000000',
  },
}
SCSS
$custom: #1c298b;
$custom-light: #6d63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c298b",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 232.973,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34598,
    "c": 0.16087,
    "h": 269.4
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#1C298B
secondary
#BCAE47
accent
#D53EE9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C298B

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

Preview Lab → · Contrast checker → · Palette generator →

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