#1C226C#1C226C

#1C226C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.127 H 272.5°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#1C226C
RGBrgb(28, 34, 108)
HSLhsl(236, 59%, 27%)
HSVhsv(236, 74%, 42%)
CMYKcmyk(74.1%, 68.5%, 0%, 57.6%)
CIE-LABlab(17.80, 24.64, -43.78)
CIE-LCHlch(17.80, 50.23, 299.37°)
OKLaboklab(30.13% 0.0056 -0.1265)
OKLCHoklch(30.13% 0.127 272.5)
XYZxyz(3.7568, 2.4733, 14.4639)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C226C #6C661C
analogous
#1C4A6C #1C226C #3E1C6C
triadic
#1C226C #6C1C22 #226C1C
tetradic
#1C226C #6C1C4A #6C661C #1C6C3E
square
#1C226C #6C1C4A #6C661C #1C6C3E
split-complementary
#1C226C #6C3E1C #4A6C1C
monochromatic
#060818 #0F133B #1C226C #29319D #3742CB

Accessibility & contrast

On white

14.05
#1C226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C226C
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C226C#FFFFFF#000000##FFFFFF
##1C226C1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00286B
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c226c;
/* rgb */ color: rgb(28, 34, 108);
/* oklch */ color: oklch(30.1% 0.127 272.5);
Tailwind
colors: {
  custom: {
    50: '#655d97',
    500: '#1c226c',
    950: '#000000',
  },
}
SCSS
$custom: #1c226c;
$custom-light: #655d97;
$custom-dark: #000000;
JSON
{
  "hex": "#1c226c",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 235.5,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30134,
    "c": 0.12658,
    "h": 272.5
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C226C

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

Preview Lab → · Contrast checker → · Palette generator →

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