#1C297D#1C297D

#1C297D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.142 H 269.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#1C297D
RGBrgb(28, 41, 125)
HSLhsl(232, 63%, 30%)
HSVhsv(232, 78%, 49%)
CMYKcmyk(77.6%, 67.2%, 0%, 51%)
CIE-LABlab(21.26, 26.41, -49.03)
CIE-LCHlch(21.26, 55.69, 298.31°)
OKLaboklab(33.17% -0.0006 -0.1418)
OKLCHoklch(33.17% 0.142 269.8)
XYZxyz(4.9722, 3.3129, 19.7755)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C297D #7D701C
analogous
#1C597D #1C297D #401C7D
triadic
#1C297D #7D1C29 #297D1C
tetradic
#1C297D #7D1C59 #7D701C #1C7D40
square
#1C297D #7D1C59 #7D701C #1C7D40
split-complementary
#1C297D #7D401C #597D1C
monochromatic
#060819 #11194B #1C297D #2739AF #3F53D4

Accessibility & contrast

On white

12.63
#1C297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1C297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C297D
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C297D#FFFFFF#000000##FFFFFF
##1C297D1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c297d;
/* rgb */ color: rgb(28, 41, 125);
/* oklch */ color: oklch(33.2% 0.142 269.8);
Tailwind
colors: {
  custom: {
    50: '#6962a3',
    500: '#1c297d',
    950: '#000000',
  },
}
SCSS
$custom: #1c297d;
$custom-light: #6962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c297d",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 231.959,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.33168,
    "c": 0.14179,
    "h": 269.8
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#1C297D
secondary
#B1A244
accent
#D041E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C297D

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

Preview Lab → · Contrast checker → · Palette generator →

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