#1C226B#1C226B

#1C226B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.0% C 0.125 H 272.6°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#1C226B
RGBrgb(28, 34, 107)
HSLhsl(235, 59%, 26%)
HSVhsv(235, 74%, 42%)
CMYKcmyk(73.8%, 68.2%, 0%, 58%)
CIE-LABlab(17.70, 24.25, -43.28)
CIE-LCHlch(17.70, 49.62, 299.26°)
OKLaboklab(30.03% 0.0056 -0.125)
OKLCHoklch(30.03% 0.125 272.6)
XYZxyz(3.7039, 2.4521, 14.1852)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C226B #6B651C
analogous
#1C4A6B #1C226B #3E1C6B
triadic
#1C226B #6B1C22 #226B1C
tetradic
#1C226B #6B1C4A #6B651C #1C6B3E
square
#1C226B #6B1C4A #6B651C #1C6B3E
split-complementary
#1C226B #6B3E1C #4A6B1C
monochromatic
#060818 #0F133A #1C226B #29319C #3742CB

Accessibility & contrast

On white

14.09
#1C226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1C226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C226B
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C226B#FFFFFF#000000##FFFFFF
##1C226B1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c226b;
/* rgb */ color: rgb(28, 34, 107);
/* oklch */ color: oklch(30.0% 0.125 272.6);
Tailwind
colors: {
  custom: {
    50: '#655d96',
    500: '#1c226b',
    950: '#000000',
  },
}
SCSS
$custom: #1c226b;
$custom-light: #655d96;
$custom-dark: #000000;
JSON
{
  "hex": "#1c226b",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 235.443,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30034,
    "c": 0.12515,
    "h": 272.6
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#1C226B
secondary
#A09943
accent
#D646E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1C226B

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

Preview Lab → · Contrast checker → · Palette generator →

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