#1C227D#1C227D

#1C227D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.150 H 271.4°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#1C227D
RGBrgb(28, 34, 125)
HSLhsl(236, 63%, 30%)
HSVhsv(236, 78%, 49%)
CMYKcmyk(77.6%, 72.8%, 0%, 51%)
CIE-LABlab(19.52, 31.08, -51.88)
CIE-LCHlch(19.52, 60.48, 300.93°)
OKLaboklab(31.91% 0.0037 -0.1501)
OKLCHoklch(31.91% 0.15 271.4)
XYZxyz(4.7513, 2.8711, 19.7018)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C227D #7D771C
analogous
#1C527D #1C227D #471C7D
triadic
#1C227D #7D1C22 #227D1C
tetradic
#1C227D #7D1C52 #7D771C #1C7D47
square
#1C227D #7D1C52 #7D771C #1C7D47
split-complementary
#1C227D #7D471C #527D1C
monochromatic
#060719 #11144B #1C227D #2730AF #3F49D4

Accessibility & contrast

On white

13.34
#1C227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C227D
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C227D#FFFFFF#000000##FFFFFF
##1C227D1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c227d;
/* rgb */ color: rgb(28, 34, 125);
/* oklch */ color: oklch(31.9% 0.150 271.4);
Tailwind
colors: {
  custom: {
    50: '#695da4',
    500: '#1c227d',
    950: '#000000',
  },
}
SCSS
$custom: #1c227d;
$custom-light: #695da4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c227d",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 236.289,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.31907,
    "c": 0.15018,
    "h": 271.4
  },
  "luminance": 0.02872
}

Semantic roles & 50–950 ramp

primary
#1C227D
secondary
#B1AA44
accent
#DC41E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C227D

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

Preview Lab → · Contrast checker → · Palette generator →

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