#1C175F#1C175F

#1C175F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.8% C 0.122 H 277.4°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#1C175F
RGBrgb(28, 23, 95)
HSLhsl(244, 61%, 23%)
HSVhsv(244, 76%, 37%)
CMYKcmyk(70.5%, 75.8%, 0%, 62.7%)
CIE-LABlab(13.74, 27.14, -41.87)
CIE-LCHlch(13.74, 49.89, 302.95°)
OKLaboklab(26.8% 0.0156 -0.1209)
OKLCHoklch(26.8% 0.122 277.4)
XYZxyz(2.8502, 1.6856, 10.9994)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C175F #5A5F17
analogous
#17365F #1C175F #40175F
triadic
#1C175F #5F1C17 #175F1C
tetradic
#1C175F #5F1736 #5A5F17 #175F40
square
#1C175F #5F1736 #5A5F17 #175F40
split-complementary
#1C175F #5F4017 #365F17
monochromatic
#070619 #0D0B2E #1C175F #2B2390 #392FC2

Accessibility & contrast

On white

15.70
#1C175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1C175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C175F
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C175F#FFFFFF#000000##FFFFFF
##1C175F1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00205E
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1c175f;
/* rgb */ color: rgb(28, 23, 95);
/* oklch */ color: oklch(26.8% 0.122 277.4);
Tailwind
colors: {
  custom: {
    50: '#63558d',
    500: '#1c175f',
    950: '#000000',
  },
}
SCSS
$custom: #1c175f;
$custom-light: #63558d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c175f",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 244.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26798,
    "c": 0.12189,
    "h": 277.4
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C175F

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

Preview Lab → · Contrast checker → · Palette generator →

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