#1C226F#1C226F

#1C226F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.131 H 272.3°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#1C226F
RGBrgb(28, 34, 111)
HSLhsl(236, 60%, 27%)
HSVhsv(236, 75%, 44%)
CMYKcmyk(74.8%, 69.4%, 0%, 56.5%)
CIE-LABlab(18.09, 25.80, -45.24)
CIE-LCHlch(18.09, 52.08, 299.69°)
OKLaboklab(30.44% 0.0053 -0.1308)
OKLCHoklch(30.44% 0.131 272.3)
XYZxyz(3.9192, 2.5382, 15.3192)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C226F #6F691C
analogous
#1C4B6F #1C226F #401C6F
triadic
#1C226F #6F1C22 #226F1C
tetradic
#1C226F #6F1C4B #6F691C #1C6F40
square
#1C226F #6F1C4B #6F691C #1C6F40
split-complementary
#1C226F #6F401C #4B6F1C
monochromatic
#060718 #10133E #1C226F #2831A0 #3843CD

Accessibility & contrast

On white

13.93
#1C226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1C226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C226F
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C226F#FFFFFF#000000##FFFFFF
##1C226F1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c226f;
/* rgb */ color: rgb(28, 34, 111);
/* oklch */ color: oklch(30.4% 0.131 272.3);
Tailwind
colors: {
  custom: {
    50: '#665d99',
    500: '#1c226f',
    950: '#000000',
  },
}
SCSS
$custom: #1c226f;
$custom-light: #665d99;
$custom-dark: #000000;
JSON
{
  "hex": "#1c226f",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 235.663,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30438,
    "c": 0.13087,
    "h": 272.3
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#1C226F
secondary
#A49D43
accent
#D745E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1C226F

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

Preview Lab → · Contrast checker → · Palette generator →

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