#1C2255#1C2255

#1C2255 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.092 H 273.8°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#1C2255
RGBrgb(28, 34, 85)
HSLhsl(234, 50%, 22%)
HSVhsv(234, 67%, 33%)
CMYKcmyk(67.1%, 60%, 0%, 66.7%)
CIE-LABlab(15.73, 15.61, -31.91)
CIE-LCHlch(15.73, 35.53, 296.06°)
OKLaboklab(27.96% 0.0061 -0.0916)
OKLCHoklch(27.96% 0.092 273.8)
XYZxyz(2.6901, 2.0466, 8.8458)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2255 #554F1C
analogous
#1C3F55 #1C2255 #331C55
triadic
#1C2255 #551C22 #22551C
tetradic
#1C2255 #551C3F #554F1C #1C5533
square
#1C2255 #551C3F #554F1C #1C5533
split-complementary
#1C2255 #55331C #3F551C
monochromatic
#080917 #0D1027 #1C2255 #2B3483 #3A47B1

Accessibility & contrast

On white

14.90
#1C2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1C2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2255
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2255#FFFFFF#000000##FFFFFF
##1C22551.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A57
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1c2255;
/* rgb */ color: rgb(28, 34, 85);
/* oklch */ color: oklch(28.0% 0.092 273.8);
Tailwind
colors: {
  custom: {
    50: '#5f5c85',
    500: '#1c2255',
    950: '#000000',
  },
}
SCSS
$custom: #1c2255;
$custom-light: #5f5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2255",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 233.684,
    "s": 50.442,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27962,
    "c": 0.09182,
    "h": 273.8
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#1C2255
secondary
#8B8342
accent
#CB4EDA
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1C2255

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

Preview Lab → · Contrast checker → · Palette generator →

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