#1C175E#1C175E

#1C175E is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.7% C 0.120 H 277.5°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#1C175E
RGBrgb(28, 23, 94)
HSLhsl(244, 61%, 23%)
HSVhsv(244, 76%, 37%)
CMYKcmyk(70.2%, 75.5%, 0%, 63.1%)
CIE-LABlab(13.64, 26.77, -41.37)
CIE-LCHlch(13.64, 49.28, 302.91°)
OKLaboklab(26.69% 0.0158 -0.1194)
OKLCHoklch(26.69% 0.12 277.5)
XYZxyz(2.8050, 1.6676, 10.7616)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C175E #595E17
analogous
#17355E #1C175E #3F175E
triadic
#1C175E #5E1C17 #175E1C
tetradic
#1C175E #5E1735 #595E17 #175E3F
square
#1C175E #5E1735 #595E17 #175E3F
split-complementary
#1C175E #5E3F17 #355E17
monochromatic
#070619 #0D0B2D #1C175E #2B238F #392FC0

Accessibility & contrast

On white

15.75
#1C175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1C175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C175E
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C175E#FFFFFF#000000##FFFFFF
##1C175E1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1c175e;
/* rgb */ color: rgb(28, 23, 94);
/* oklch */ color: oklch(26.7% 0.120 277.5);
Tailwind
colors: {
  custom: {
    50: '#63558c',
    500: '#1c175e',
    950: '#000000',
  },
}
SCSS
$custom: #1c175e;
$custom-light: #63558c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c175e",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 244.225,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2669,
    "c": 0.12049,
    "h": 277.5
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#1C175E
secondary
#8F953C
accent
#E444D9
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1C175E

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

Preview Lab → · Contrast checker → · Palette generator →

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