#1C2895#1C2895

#1C2895 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.175 H 269.2°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#1C2895
RGBrgb(28, 40, 149)
HSLhsl(234, 68%, 35%)
HSVhsv(234, 81%, 58%)
CMYKcmyk(81.2%, 73.2%, 0%, 41.6%)
CIE-LABlab(23.45, 36.09, -60.42)
CIE-LCHlch(23.45, 70.38, 300.85°)
OKLaboklab(35.5% -0.0024 -0.175)
OKLCHoklch(35.5% 0.175 269.2)
XYZxyz(6.6606, 3.9336, 28.8362)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2895 #95891C
analogous
#1C6495 #1C2895 #4D1C95
triadic
#1C2895 #951C28 #28951C
tetradic
#1C2895 #951C64 #95891C #1C954D
square
#1C2895 #951C64 #95891C #1C954D
split-complementary
#1C2895 #954D1C #64951C
monochromatic
#090C2E #121A61 #1C2895 #2636C9 #4E5CDE

Accessibility & contrast

On white

11.75
#1C2895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1C2895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2895
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2895#FFFFFF#000000##FFFFFF
##1C28951.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c2895;
/* rgb */ color: rgb(28, 40, 149);
/* oklch */ color: oklch(35.5% 0.175 269.2);
Tailwind
colors: {
  custom: {
    50: '#6f62b5',
    500: '#1c2895',
    950: '#000000',
  },
}
SCSS
$custom: #1c2895;
$custom-light: #6f62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2895",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 234.05,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35496,
    "c": 0.17505,
    "h": 269.2
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#1C2895
secondary
#C0B54D
accent
#DA3DEB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1C2895

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

Preview Lab → · Contrast checker → · Palette generator →

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