#1C258C#1C258C

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

Color values

HEX#1C258C
RGBrgb(28, 37, 140)
HSLhsl(235, 67%, 33%)
HSVhsv(235, 80%, 55%)
CMYKcmyk(80%, 73.6%, 0%, 45.1%)
CIE-LABlab(21.81, 34.69, -57.55)
CIE-LCHlch(21.81, 67.20, 301.08°)
OKLaboklab(34.03% 0.0001 -0.1667)
OKLCHoklch(34.03% 0.167 270)
XYZxyz(5.8725, 3.4628, 25.1647)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C258C #8C831C
analogous
#1C5D8C #1C258C #4B1C8C
triadic
#1C258C #8C1C25 #258C1C
tetradic
#1C258C #8C1C5D #8C831C #1C8C4B
square
#1C258C #8C1C5D #8C831C #1C8C4B
split-complementary
#1C258C #8C4B1C #5D8C1C
monochromatic
#080A26 #121859 #1C258C #2632BF #4854DA

Accessibility & contrast

On white

12.41
#1C258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1C258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C258C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C258C#FFFFFF#000000##FFFFFF
##1C258C1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c258c;
/* rgb */ color: rgb(28, 37, 140);
/* oklch */ color: oklch(34.0% 0.167 270.0);
Tailwind
colors: {
  custom: {
    50: '#6d60af',
    500: '#1c258c',
    950: '#000000',
  },
}
SCSS
$custom: #1c258c;
$custom-light: #6d60af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c258c",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 235.179,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3403,
    "c": 0.16666,
    "h": 270
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#1C258C
secondary
#BCB348
accent
#DC3EEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C258C

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

Preview Lab → · Contrast checker → · Palette generator →

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