#1C229E#1C229E

#1C229E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.192 H 269.5°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#1C229E
RGBrgb(28, 34, 158)
HSLhsl(237, 70%, 36%)
HSVhsv(237, 82%, 62%)
CMYKcmyk(82.3%, 78.5%, 0%, 38%)
CIE-LABlab(23.20, 42.80, -66.36)
CIE-LCHlch(23.20, 78.96, 302.82°)
OKLaboklab(35.61% -0.0016 -0.1922)
OKLCHoklch(35.61% 0.192 269.5)
XYZxyz(7.2204, 3.8587, 32.7054)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C229E #9E981C
analogous
#1C639E #1C229E #571C9E
triadic
#1C229E #9E1C22 #229E1C
tetradic
#1C229E #9E1C63 #9E981C #1C9E57
square
#1C229E #9E1C63 #9E981C #1C9E57
split-complementary
#1C229E #9E571C #639E1C
monochromatic
#0A0C36 #13176A #1C229E #252DD2 #545AE1

Accessibility & contrast

On white

11.85
#1C229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1C229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C229E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C229E#FFFFFF#000000##FFFFFF
##1C229E1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c229e;
/* rgb */ color: rgb(28, 34, 158);
/* oklch */ color: oklch(35.6% 0.192 269.5);
Tailwind
colors: {
  custom: {
    50: '#725fbc',
    500: '#1c229e',
    950: '#000000',
  },
}
SCSS
$custom: #1c229e;
$custom-light: #725fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c229e",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 237.231,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35613,
    "c": 0.19224,
    "h": 269.5
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#1C229E
secondary
#C4BE52
accent
#E43BED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1C229E

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

Preview Lab → · Contrast checker → · Palette generator →

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