#1C258E#1C258E

#1C258E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.169 H 269.9°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#1C258E
RGBrgb(28, 37, 142)
HSLhsl(235, 67%, 33%)
HSVhsv(235, 80%, 56%)
CMYKcmyk(80.3%, 73.9%, 0%, 44.3%)
CIE-LABlab(22.02, 35.42, -58.44)
CIE-LCHlch(22.02, 68.33, 301.22°)
OKLaboklab(34.25% -0.0002 -0.1693)
OKLCHoklch(34.25% 0.169 269.9)
XYZxyz(6.0213, 3.5223, 25.9485)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C258E #8E851C
analogous
#1C5E8E #1C258E #4C1C8E
triadic
#1C258E #8E1C25 #258E1C
tetradic
#1C258E #8E1C5E #8E851C #1C8E4C
square
#1C258E #8E1C5E #8E851C #1C8E4C
split-complementary
#1C258E #8E4C1C #5E8E1C
monochromatic
#080A28 #12185B #1C258E #2632C1 #4955DB

Accessibility & contrast

On white

12.32
#1C258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C258E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C258E#FFFFFF#000000##FFFFFF
##1C258E1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c258e;
/* rgb */ color: rgb(28, 37, 142);
/* oklch */ color: oklch(34.2% 0.169 269.9);
Tailwind
colors: {
  custom: {
    50: '#6e60b0',
    500: '#1c258e',
    950: '#000000',
  },
}
SCSS
$custom: #1c258e;
$custom-light: #6e60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c258e",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 235.263,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34249,
    "c": 0.16925,
    "h": 269.9
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#1C258E
secondary
#BDB449
accent
#DC3EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C258E

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

Preview Lab → · Contrast checker → · Palette generator →

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