#1C226D#1C226D

#1C226D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.128 H 272.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#1C226D
RGBrgb(28, 34, 109)
HSLhsl(236, 59%, 27%)
HSVhsv(236, 74%, 43%)
CMYKcmyk(74.3%, 68.8%, 0%, 57.3%)
CIE-LABlab(17.89, 25.03, -44.27)
CIE-LCHlch(17.89, 50.85, 299.48°)
OKLaboklab(30.24% 0.0055 -0.1279)
OKLCHoklch(30.24% 0.128 272.4)
XYZxyz(3.8103, 2.4947, 14.7457)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C226D #6D671C
analogous
#1C4B6D #1C226D #3F1C6D
triadic
#1C226D #6D1C22 #226D1C
tetradic
#1C226D #6D1C4B #6D671C #1C6D3F
square
#1C226D #6D1C4B #6D671C #1C6D3F
split-complementary
#1C226D #6D3F1C #4B6D1C
monochromatic
#060818 #0F133C #1C226D #29319E #3843CC

Accessibility & contrast

On white

14.01
#1C226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1C226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C226D
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C226D#FFFFFF#000000##FFFFFF
##1C226D1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c226d;
/* rgb */ color: rgb(28, 34, 109);
/* oklch */ color: oklch(30.2% 0.128 272.4);
Tailwind
colors: {
  custom: {
    50: '#655d98',
    500: '#1c226d',
    950: '#000000',
  },
}
SCSS
$custom: #1c226d;
$custom-light: #655d98;
$custom-dark: #000000;
JSON
{
  "hex": "#1c226d",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 235.556,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30235,
    "c": 0.12802,
    "h": 272.4
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#1C226D
secondary
#A29B43
accent
#D745E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1C226D

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

Preview Lab → · Contrast checker → · Palette generator →

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