#1C227C#1C227C

#1C227C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.149 H 271.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#1C227C
RGBrgb(28, 34, 124)
HSLhsl(236, 63%, 30%)
HSVhsv(236, 77%, 49%)
CMYKcmyk(77.4%, 72.6%, 0%, 51.4%)
CIE-LABlab(19.41, 30.71, -51.42)
CIE-LCHlch(19.41, 59.89, 300.85°)
OKLaboklab(31.8% 0.0038 -0.1488)
OKLCHoklch(31.8% 0.149 271.5)
XYZxyz(4.6878, 2.8457, 19.3671)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C227C #7C761C
analogous
#1C527C #1C227C #461C7C
triadic
#1C227C #7C1C22 #227C1C
tetradic
#1C227C #7C1C52 #7C761C #1C7C46
square
#1C227C #7C1C52 #7C761C #1C7C46
split-complementary
#1C227C #7C461C #527C1C
monochromatic
#060719 #11144A #1C227C #2730AE #3F48D4

Accessibility & contrast

On white

13.38
#1C227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1C227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C227C
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C227C#FFFFFF#000000##FFFFFF
##1C227C1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c227c;
/* rgb */ color: rgb(28, 34, 124);
/* oklch */ color: oklch(31.8% 0.149 271.5);
Tailwind
colors: {
  custom: {
    50: '#695da3',
    500: '#1c227c',
    950: '#000000',
  },
}
SCSS
$custom: #1c227c;
$custom-light: #695da3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c227c",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 236.25,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31799,
    "c": 0.14884,
    "h": 271.5
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#1C227C
secondary
#B0A944
accent
#DC42E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C227C

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

Preview Lab → · Contrast checker → · Palette generator →

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