#1C227A#1C227A

#1C227A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.146 H 271.6°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#1C227A
RGBrgb(28, 34, 122)
HSLhsl(236, 63%, 29%)
HSVhsv(236, 77%, 48%)
CMYKcmyk(77%, 72.1%, 0%, 52.2%)
CIE-LABlab(19.21, 29.97, -50.49)
CIE-LCHlch(19.21, 58.71, 300.69°)
OKLaboklab(31.59% 0.0041 -0.1461)
OKLCHoklch(31.59% 0.146 271.6)
XYZxyz(4.5626, 2.7956, 18.7077)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C227A #7A741C
analogous
#1C517A #1C227A #451C7A
triadic
#1C227A #7A1C22 #227A1C
tetradic
#1C227A #7A1C51 #7A741C #1C7A45
square
#1C227A #7A1C51 #7A741C #1C7A45
split-complementary
#1C227A #7A451C #517A1C
monochromatic
#060719 #111448 #1C227A #2730AC #3E47D3

Accessibility & contrast

On white

13.47
#1C227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1C227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C227A
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C227A#FFFFFF#000000##FFFFFF
##1C227A1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c227a;
/* rgb */ color: rgb(28, 34, 122);
/* oklch */ color: oklch(31.6% 0.146 271.6);
Tailwind
colors: {
  custom: {
    50: '#695da1',
    500: '#1c227a',
    950: '#000000',
  },
}
SCSS
$custom: #1c227a;
$custom-light: #695da1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c227a",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 236.17,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31586,
    "c": 0.14614,
    "h": 271.6
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#1C227A
secondary
#AEA744
accent
#DB42E6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C227A

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

Preview Lab → · Contrast checker → · Palette generator →

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