#1C258F#1C258F

#1C258F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.171 H 269.9°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#1C258F
RGBrgb(28, 37, 143)
HSLhsl(235, 67%, 34%)
HSVhsv(235, 80%, 56%)
CMYKcmyk(80.4%, 74.1%, 0%, 43.9%)
CIE-LABlab(22.13, 35.78, -58.88)
CIE-LCHlch(22.13, 68.90, 301.29°)
OKLaboklab(34.36% -0.0003 -0.1705)
OKLCHoklch(34.36% 0.171 269.9)
XYZxyz(6.0967, 3.5525, 26.3457)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C258F #8F861C
analogous
#1C5E8F #1C258F #4C1C8F
triadic
#1C258F #8F1C25 #258F1C
tetradic
#1C258F #8F1C5E #8F861C #1C8F4C
square
#1C258F #8F1C5E #8F861C #1C8F4C
split-complementary
#1C258F #8F4C1C #5E8F1C
monochromatic
#080B29 #12185C #1C258F #2632C2 #4A55DC

Accessibility & contrast

On white

12.28
#1C258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C258F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C258F#FFFFFF#000000##FFFFFF
##1C258F1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c258f;
/* rgb */ color: rgb(28, 37, 143);
/* oklch */ color: oklch(34.4% 0.171 269.9);
Tailwind
colors: {
  custom: {
    50: '#6e60b1',
    500: '#1c258f',
    950: '#000000',
  },
}
SCSS
$custom: #1c258f;
$custom-light: #6e60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c258f",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 235.304,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34359,
    "c": 0.17054,
    "h": 269.9
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#1C258F
secondary
#BEB449
accent
#DD3EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1C258F

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

Preview Lab → · Contrast checker → · Palette generator →

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