#1C225F#1C225F

#1C225F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.107 H 273.3°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#1C225F
RGBrgb(28, 34, 95)
HSLhsl(235, 54%, 24%)
HSVhsv(235, 71%, 37%)
CMYKcmyk(70.5%, 64.2%, 0%, 62.7%)
CIE-LABlab(16.59, 19.56, -37.21)
CIE-LCHlch(16.59, 42.04, 297.73°)
OKLaboklab(28.87% 0.0062 -0.1072)
OKLCHoklch(28.87% 0.107 273.3)
XYZxyz(3.1158, 2.2169, 11.0880)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C225F #5F591C
analogous
#1C445F #1C225F #381C5F
triadic
#1C225F #5F1C22 #225F1C
tetradic
#1C225F #5F1C44 #5F591C #1C5F38
square
#1C225F #5F1C44 #5F591C #1C5F38
split-complementary
#1C225F #5F381C #445F1C
monochromatic
#070818 #0E1130 #1C225F #2A338E #3844BE

Accessibility & contrast

On white

14.55
#1C225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1C225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C225F
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C225F#FFFFFF#000000##FFFFFF
##1C225F1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1c225f;
/* rgb */ color: rgb(28, 34, 95);
/* oklch */ color: oklch(28.9% 0.107 273.3);
Tailwind
colors: {
  custom: {
    50: '#625d8d',
    500: '#1c225f',
    950: '#000000',
  },
}
SCSS
$custom: #1c225f;
$custom-light: #625d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c225f",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 234.627,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28869,
    "c": 0.10738,
    "h": 273.3
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#1C225F
secondary
#948D42
accent
#D14ADE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1C225F

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

Preview Lab → · Contrast checker → · Palette generator →

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