#1C26A0#1C26A0

#1C26A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.191 H 269.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1C26A0
RGBrgb(28, 38, 160)
HSLhsl(235, 70%, 37%)
HSVhsv(235, 83%, 63%)
CMYKcmyk(82.5%, 76.3%, 0%, 37.3%)
CIE-LABlab(24.23, 41.21, -65.88)
CIE-LCHlch(24.23, 77.70, 302.03°)
OKLaboklab(36.41% -0.0032 -0.1909)
OKLCHoklch(36.41% 0.191 269)
XYZxyz(7.5150, 4.1703, 33.6598)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C26A0 #A0961C
analogous
#1C68A0 #1C26A0 #541CA0
triadic
#1C26A0 #A01C26 #26A01C
tetradic
#1C26A0 #A01C68 #A0961C #1CA054
square
#1C26A0 #A01C68 #A0961C #1CA054
split-complementary
#1C26A0 #A0541C #68A01C
monochromatic
#0A0D38 #131A6C #1C26A0 #2532D4 #5560E1

Accessibility & contrast

On white

11.45
#1C26A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1C26A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C26A0
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C26A0#FFFFFF#000000##FFFFFF
##1C26A01.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c26a0;
/* rgb */ color: rgb(28, 38, 160);
/* oklch */ color: oklch(36.4% 0.191 269.0);
Tailwind
colors: {
  custom: {
    50: '#7362bd',
    500: '#1c26a0',
    950: '#000000',
  },
}
SCSS
$custom: #1c26a0;
$custom-light: #7362bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c26a0",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 235.455,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36407,
    "c": 0.1909,
    "h": 269
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#1C26A0
secondary
#C4BC53
accent
#DF3BED
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1C26A0

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

Preview Lab → · Contrast checker → · Palette generator →

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