#1C1958#1C1958

#1C1958 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.4% C 0.109 H 277.9°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#1C1958
RGBrgb(28, 25, 88)
HSLhsl(243, 56%, 22%)
HSVhsv(243, 72%, 35%)
CMYKcmyk(68.2%, 71.6%, 0%, 65.5%)
CIE-LABlab(13.51, 23.21, -37.55)
CIE-LCHlch(13.51, 44.14, 301.72°)
OKLaboklab(26.41% 0.0151 -0.1083)
OKLCHoklch(26.41% 0.109 277.9)
XYZxyz(2.5874, 1.6465, 9.4121)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1958 #555819
analogous
#193658 #1C1958 #3C1958
triadic
#1C1958 #581C19 #19581C
tetradic
#1C1958 #581936 #555819 #19583C
square
#1C1958 #581936 #555819 #19583C
split-complementary
#1C1958 #583C19 #365819
monochromatic
#080718 #0D0B28 #1C1958 #2B2788 #3A34B7

Accessibility & contrast

On white

15.80
#1C1958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1958
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1958#FFFFFF#000000##FFFFFF
##1C19581.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1c1958;
/* rgb */ color: rgb(28, 25, 88);
/* oklch */ color: oklch(26.4% 0.109 277.9);
Tailwind
colors: {
  custom: {
    50: '#615688',
    500: '#1c1958',
    950: '#000000',
  },
}
SCSS
$custom: #1c1958;
$custom-light: #615688;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1958",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 242.857,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26411,
    "c": 0.10931,
    "h": 277.9
  },
  "luminance": 0.01647
}

Semantic roles & 50–950 ramp

primary
#1C1958
secondary
#8B8E3E
accent
#DF49D8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030B
muted
#7A787C

Preview Lab

Preview with #1C1958

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

Preview Lab → · Contrast checker → · Palette generator →

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