#1C2A55#1C2A55

#1C2A55 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.080 H 267.8°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#1C2A55
RGBrgb(28, 42, 85)
HSLhsl(225, 50%, 22%)
HSVhsv(225, 67%, 33%)
CMYKcmyk(67.1%, 50.6%, 0%, 66.7%)
CIE-LABlab(18.18, 9.73, -27.97)
CIE-LCHlch(18.18, 29.61, 289.18°)
OKLaboklab(29.82% -0.0031 -0.0799)
OKLCHoklch(29.82% 0.08 267.8)
XYZxyz(2.9460, 2.5584, 8.9311)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A55 #55471C
analogous
#1C4755 #1C2A55 #2B1C55
triadic
#1C2A55 #551C2A #2A551C
tetradic
#1C2A55 #551C47 #55471C #1C552B
square
#1C2A55 #551C47 #55471C #1C552B
split-complementary
#1C2A55 #552B1C #47551C
monochromatic
#080B17 #0D1327 #1C2A55 #2B4183 #3A57B1

Accessibility & contrast

On white

13.89
#1C2A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2A55
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A55#FFFFFF#000000##FFFFFF
##1C2A551.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152F57
Deuteranopia (green-blind)
#0B2A54
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c2a55;
/* rgb */ color: rgb(28, 42, 85);
/* oklch */ color: oklch(29.8% 0.080 267.8);
Tailwind
colors: {
  custom: {
    50: '#5f6385',
    500: '#1c2a55',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a55;
$custom-light: #5f6385;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a55",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 225.263,
    "s": 50.442,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29815,
    "c": 0.07996,
    "h": 267.8
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#1C2A55
secondary
#8B7942
accent
#B84EDA
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #1C2A55

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

Preview Lab → · Contrast checker → · Palette generator →

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