#1C226E#1C226E

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

Color values

HEX#1C226E
RGBrgb(28, 34, 110)
HSLhsl(236, 59%, 27%)
HSVhsv(236, 75%, 43%)
CMYKcmyk(74.5%, 69.1%, 0%, 56.9%)
CIE-LABlab(17.99, 25.41, -44.76)
CIE-LCHlch(17.99, 51.47, 299.59°)
OKLaboklab(30.34% 0.0054 -0.1293)
OKLCHoklch(30.34% 0.129 272.4)
XYZxyz(3.8644, 2.5163, 15.0309)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C226E #6E681C
analogous
#1C4B6E #1C226E #3F1C6E
triadic
#1C226E #6E1C22 #226E1C
tetradic
#1C226E #6E1C4B #6E681C #1C6E3F
square
#1C226E #6E1C4B #6E681C #1C6E3F
split-complementary
#1C226E #6E3F1C #4B6E1C
monochromatic
#060818 #10133D #1C226E #28319F #3843CC

Accessibility & contrast

On white

13.97
#1C226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C226E
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C226E#FFFFFF#000000##FFFFFF
##1C226E1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c226e;
/* rgb */ color: rgb(28, 34, 110);
/* oklch */ color: oklch(30.3% 0.129 272.4);
Tailwind
colors: {
  custom: {
    50: '#655d98',
    500: '#1c226e',
    950: '#000000',
  },
}
SCSS
$custom: #1c226e;
$custom-light: #655d98;
$custom-dark: #000000;
JSON
{
  "hex": "#1c226e",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 235.61,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30336,
    "c": 0.12944,
    "h": 272.4
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#1C226E
secondary
#A39C43
accent
#D745E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1C226E

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

Preview Lab → · Contrast checker → · Palette generator →

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