#1C255E#1C255E

#1C255E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.102 H 271.9°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#1C255E
RGBrgb(28, 37, 94)
HSLhsl(232, 54%, 24%)
HSVhsv(232, 70%, 37%)
CMYKcmyk(70.2%, 60.6%, 0%, 63.1%)
CIE-LABlab(17.36, 17.00, -35.30)
CIE-LCHlch(17.36, 39.18, 295.71°)
OKLaboklab(29.41% 0.0033 -0.1015)
OKLCHoklch(29.41% 0.102 271.9)
XYZxyz(3.1602, 2.3779, 10.8799)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C255E #5E551C
analogous
#1C465E #1C255E #341C5E
triadic
#1C255E #5E1C25 #255E1C
tetradic
#1C255E #5E1C46 #5E551C #1C5E34
square
#1C255E #5E1C46 #5E551C #1C5E34
split-complementary
#1C255E #5E341C #465E1C
monochromatic
#070918 #0E122F #1C255E #2A388D #384ABC

Accessibility & contrast

On white

14.23
#1C255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1C255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C255E
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C255E#FFFFFF#000000##FFFFFF
##1C255E1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c255e;
/* rgb */ color: rgb(28, 37, 94);
/* oklch */ color: oklch(29.4% 0.102 271.9);
Tailwind
colors: {
  custom: {
    50: '#615f8c',
    500: '#1c255e',
    950: '#000000',
  },
}
SCSS
$custom: #1c255e;
$custom-light: #615f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c255e",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 231.818,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29414,
    "c": 0.10158,
    "h": 271.9
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#1C255E
secondary
#938842
accent
#C94ADD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1C255E

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

Preview Lab → · Contrast checker → · Palette generator →

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