#1C227E#1C227E

#1C227E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.152 H 271.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#1C227E
RGBrgb(28, 34, 126)
HSLhsl(236, 64%, 30%)
HSVhsv(236, 78%, 49%)
CMYKcmyk(77.8%, 73%, 0%, 50.6%)
CIE-LABlab(19.63, 31.45, -52.34)
CIE-LCHlch(19.63, 61.07, 301.00°)
OKLaboklab(32.01% 0.0035 -0.1515)
OKLCHoklch(32.01% 0.152 271.3)
XYZxyz(4.8155, 2.8968, 20.0400)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C227E #7E781C
analogous
#1C537E #1C227E #471C7E
triadic
#1C227E #7E1C22 #227E1C
tetradic
#1C227E #7E1C53 #7E781C #1C7E47
square
#1C227E #7E1C53 #7E781C #1C7E47
split-complementary
#1C227E #7E471C #537E1C
monochromatic
#06071A #11144C #1C227E #2730B0 #4049D5

Accessibility & contrast

On white

13.30
#1C227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1C227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C227E
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C227E#FFFFFF#000000##FFFFFF
##1C227E1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c227e;
/* rgb */ color: rgb(28, 34, 126);
/* oklch */ color: oklch(32.0% 0.152 271.3);
Tailwind
colors: {
  custom: {
    50: '#6a5da4',
    500: '#1c227e',
    950: '#000000',
  },
}
SCSS
$custom: #1c227e;
$custom-light: #6a5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c227e",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 236.327,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32014,
    "c": 0.15153,
    "h": 271.3
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#1C227E
secondary
#B2AB44
accent
#DD41E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C227E

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

Preview Lab → · Contrast checker → · Palette generator →

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