#1C255B#1C255B

#1C255B is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.097 H 271.9°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#1C255B
RGBrgb(28, 37, 91)
HSLhsl(231, 53%, 23%)
HSVhsv(231, 69%, 36%)
CMYKcmyk(69.2%, 59.3%, 0%, 64.3%)
CIE-LABlab(17.11, 15.80, -33.70)
CIE-LCHlch(17.11, 37.22, 295.12°)
OKLaboklab(29.15% 0.0032 -0.0968)
OKLCHoklch(29.15% 0.097 271.9)
XYZxyz(3.0282, 2.3251, 10.1847)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C255B #5B521C
analogous
#1C445B #1C255B #321C5B
triadic
#1C255B #5B1C25 #255B1C
tetradic
#1C255B #5B1C44 #5B521C #1C5B32
square
#1C255B #5B1C44 #5B521C #1C5B32
split-complementary
#1C255B #5B321C #445B1C
monochromatic
#070A17 #0E122C #1C255B #2A388A #394BB9

Accessibility & contrast

On white

14.33
#1C255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1C255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C255B
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C255B#FFFFFF#000000##FFFFFF
##1C255B1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c255b;
/* rgb */ color: rgb(28, 37, 91);
/* oklch */ color: oklch(29.1% 0.097 271.9);
Tailwind
colors: {
  custom: {
    50: '#605f8a',
    500: '#1c255b',
    950: '#000000',
  },
}
SCSS
$custom: #1c255b;
$custom-light: #605f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c255b",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 231.429,
    "s": 52.941,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2915,
    "c": 0.0969,
    "h": 271.9
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#1C255B
secondary
#908542
accent
#C84BDC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #1C255B

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

Preview Lab → · Contrast checker → · Palette generator →

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