#1C258D#1C258D

#1C258D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.168 H 270.0°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1C258D
RGBrgb(28, 37, 141)
HSLhsl(235, 67%, 33%)
HSVhsv(235, 80%, 55%)
CMYKcmyk(80.1%, 73.8%, 0%, 44.7%)
CIE-LABlab(21.92, 35.06, -57.99)
CIE-LCHlch(21.92, 67.77, 301.15°)
OKLaboklab(34.14% 0 -0.168)
OKLCHoklch(34.14% 0.168 270)
XYZxyz(5.9465, 3.4924, 25.5548)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C258D #8D841C
analogous
#1C5D8D #1C258D #4B1C8D
triadic
#1C258D #8D1C25 #258D1C
tetradic
#1C258D #8D1C5D #8D841C #1C8D4B
square
#1C258D #8D1C5D #8D841C #1C8D4B
split-complementary
#1C258D #8D4B1C #5D8D1C
monochromatic
#080A27 #12185A #1C258D #2632C0 #4954DB

Accessibility & contrast

On white

12.36
#1C258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C258D
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C258D#FFFFFF#000000##FFFFFF
##1C258D1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c258d;
/* rgb */ color: rgb(28, 37, 141);
/* oklch */ color: oklch(34.1% 0.168 270.0);
Tailwind
colors: {
  custom: {
    50: '#6d60af',
    500: '#1c258d',
    950: '#000000',
  },
}
SCSS
$custom: #1c258d;
$custom-light: #6d60af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c258d",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 235.221,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34139,
    "c": 0.16796,
    "h": 270
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#1C258D
secondary
#BDB348
accent
#DC3EEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C258D

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

Preview Lab → · Contrast checker → · Palette generator →

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