#1C315E#1C315E

#1C315E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.085 H 263.5°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#1C315E
RGBrgb(28, 49, 94)
HSLhsl(221, 54%, 24%)
HSVhsv(221, 70%, 37%)
CMYKcmyk(70.2%, 47.9%, 0%, 63.1%)
CIE-LABlab(21.02, 8.28, -29.39)
CIE-LCHlch(21.02, 30.53, 285.74°)
OKLaboklab(32.2% -0.0095 -0.084)
OKLCHoklch(32.2% 0.085 263.5)
XYZxyz(3.5969, 3.2513, 11.0255)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C315E #5E491C
analogous
#1C525E #1C315E #281C5E
triadic
#1C315E #5E1C31 #315E1C
tetradic
#1C315E #5E1C52 #5E491C #1C5E28
square
#1C315E #5E1C52 #5E491C #1C5E28
split-complementary
#1C315E #5E281C #525E1C
monochromatic
#070C18 #0E182F #1C315E #2A4A8D #3862BC

Accessibility & contrast

On white

12.72
#1C315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1C315E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C315E
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C315E#FFFFFF#000000##FFFFFF
##1C315E1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3660
Deuteranopia (green-blind)
#10305D
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c315e;
/* rgb */ color: rgb(28, 49, 94);
/* oklch */ color: oklch(32.2% 0.085 263.5);
Tailwind
colors: {
  custom: {
    50: '#60688c',
    500: '#1c315e',
    950: '#000000',
  },
}
SCSS
$custom: #1c315e;
$custom-light: #60688c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c315e",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 220.909,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32195,
    "c": 0.0845,
    "h": 263.5
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#1C315E
secondary
#937A42
accent
#AF4ADD
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1C315E

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

Preview Lab → · Contrast checker → · Palette generator →

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