#1C255F#1C255F

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

Color values

HEX#1C255F
RGBrgb(28, 37, 95)
HSLhsl(232, 54%, 24%)
HSVhsv(232, 71%, 37%)
CMYKcmyk(70.5%, 61.1%, 0%, 62.7%)
CIE-LABlab(17.44, 17.40, -35.82)
CIE-LCHlch(17.44, 39.82, 295.90°)
OKLaboklab(29.5% 0.0033 -0.1031)
OKLCHoklch(29.5% 0.103 271.9)
XYZxyz(3.2053, 2.3959, 11.1178)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C255F #5F561C
analogous
#1C475F #1C255F #351C5F
triadic
#1C255F #5F1C25 #255F1C
tetradic
#1C255F #5F1C47 #5F561C #1C5F35
square
#1C255F #5F1C47 #5F561C #1C5F35
split-complementary
#1C255F #5F351C #475F1C
monochromatic
#070918 #0E1330 #1C255F #2A378E #384ABE

Accessibility & contrast

On white

14.20
#1C255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C255F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C255F#FFFFFF#000000##FFFFFF
##1C255F1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c255f;
/* rgb */ color: rgb(28, 37, 95);
/* oklch */ color: oklch(29.5% 0.103 271.9);
Tailwind
colors: {
  custom: {
    50: '#615f8d',
    500: '#1c255f',
    950: '#000000',
  },
}
SCSS
$custom: #1c255f;
$custom-light: #615f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c255f",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 231.94,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29504,
    "c": 0.10313,
    "h": 271.9
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#1C255F
secondary
#948942
accent
#CA4ADE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1C255F

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

Preview Lab → · Contrast checker → · Palette generator →

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