#1C2452#1C2452

#1C2452 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.084 H 272.5°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#1C2452
RGBrgb(28, 36, 82)
HSLhsl(231, 49%, 22%)
HSVhsv(231, 66%, 32%)
CMYKcmyk(65.9%, 56.1%, 0%, 67.8%)
CIE-LABlab(16.09, 12.95, -29.30)
CIE-LCHlch(16.09, 32.03, 293.84°)
OKLaboklab(28.16% 0.0036 -0.0839)
OKLCHoklch(28.16% 0.084 272.5)
XYZxyz(2.6323, 2.1176, 8.2510)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2452 #524A1C
analogous
#1C3F52 #1C2452 #2F1C52
triadic
#1C2452 #521C24 #24521C
tetradic
#1C2452 #521C3F #524A1C #1C522F
square
#1C2452 #521C3F #524A1C #1C522F
split-complementary
#1C2452 #522F1C #3F521C
monochromatic
#080A17 #0C1024 #1C2452 #2C3880 #3B4CAD

Accessibility & contrast

On white

14.75
#1C2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1C2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2452
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2452#FFFFFF#000000##FFFFFF
##1C24521.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2A54
Deuteranopia (green-blind)
#012651
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1c2452;
/* rgb */ color: rgb(28, 36, 82);
/* oklch */ color: oklch(28.2% 0.084 272.5);
Tailwind
colors: {
  custom: {
    50: '#5e5e83',
    500: '#1c2452',
    950: '#000000',
  },
}
SCSS
$custom: #1c2452;
$custom-light: #5e5e83;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2452",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 231.111,
    "s": 49.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28158,
    "c": 0.08399,
    "h": 272.5
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#1C2452
secondary
#887D42
accent
#C44FD9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040A
muted
#79797C

Preview Lab

Preview with #1C2452

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

Preview Lab → · Contrast checker → · Palette generator →

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