#1C258B#1C258B

#1C258B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.165 H 270.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1C258B
RGBrgb(28, 37, 139)
HSLhsl(235, 66%, 33%)
HSVhsv(235, 80%, 55%)
CMYKcmyk(79.9%, 73.4%, 0%, 45.5%)
CIE-LABlab(21.70, 34.33, -57.10)
CIE-LCHlch(21.70, 66.63, 301.01°)
OKLaboklab(33.92% 0.0003 -0.1654)
OKLCHoklch(33.92% 0.165 270.1)
XYZxyz(5.7991, 3.4334, 24.7782)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C258B #8B821C
analogous
#1C5C8B #1C258B #4A1C8B
triadic
#1C258B #8B1C25 #258B1C
tetradic
#1C258B #8B1C5C #8B821C #1C8B4A
square
#1C258B #8B1C5C #8B821C #1C8B4A
split-complementary
#1C258B #8B4A1C #5C8B1C
monochromatic
#070A25 #121758 #1C258B #2633BE #4753DA

Accessibility & contrast

On white

12.45
#1C258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C258B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C258B#FFFFFF#000000##FFFFFF
##1C258B1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#002F89
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c258b;
/* rgb */ color: rgb(28, 37, 139);
/* oklch */ color: oklch(33.9% 0.165 270.1);
Tailwind
colors: {
  custom: {
    50: '#6d60ae',
    500: '#1c258b',
    950: '#000000',
  },
}
SCSS
$custom: #1c258b;
$custom-light: #6d60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c258b",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 235.135,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33921,
    "c": 0.16536,
    "h": 270.1
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#1C258B
secondary
#BCB247
accent
#DC3EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C258B

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

Preview Lab → · Contrast checker → · Palette generator →

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