#1C229D#1C229D

#1C229D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.191 H 269.6°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#1C229D
RGBrgb(28, 34, 157)
HSLhsl(237, 70%, 36%)
HSVhsv(237, 82%, 62%)
CMYKcmyk(82.2%, 78.3%, 0%, 38.4%)
CIE-LABlab(23.08, 42.46, -65.94)
CIE-LCHlch(23.08, 78.43, 302.78°)
OKLaboklab(35.5% -0.0015 -0.191)
OKLCHoklch(35.5% 0.191 269.6)
XYZxyz(7.1346, 3.8244, 32.2539)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C229D #9D971C
analogous
#1C639D #1C229D #571C9D
triadic
#1C229D #9D1C22 #229D1C
tetradic
#1C229D #9D1C63 #9D971C #1C9D57
square
#1C229D #9D1C63 #9D971C #1C9D57
split-complementary
#1C229D #9D571C #639D1C
monochromatic
#090C35 #131769 #1C229D #252DD1 #535AE0

Accessibility & contrast

On white

11.90
#1C229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C229D
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C229D#FFFFFF#000000##FFFFFF
##1C229D1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c229d;
/* rgb */ color: rgb(28, 34, 157);
/* oklch */ color: oklch(35.5% 0.191 269.6);
Tailwind
colors: {
  custom: {
    50: '#725fbb',
    500: '#1c229d',
    950: '#000000',
  },
}
SCSS
$custom: #1c229d;
$custom-light: #725fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c229d",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 237.209,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35497,
    "c": 0.19102,
    "h": 269.6
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#1C229D
secondary
#C3BE51
accent
#E43BED
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1C229D

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

Preview Lab → · Contrast checker → · Palette generator →

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