#1C239D#1C239D

#1C239D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.190 H 269.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1C239D
RGBrgb(28, 35, 157)
HSLhsl(237, 70%, 36%)
HSVhsv(237, 82%, 62%)
CMYKcmyk(82.2%, 77.7%, 0%, 38.4%)
CIE-LABlab(23.28, 41.90, -65.61)
CIE-LCHlch(23.28, 77.85, 302.56°)
OKLaboklab(35.64% -0.0018 -0.1901)
OKLCHoklch(35.64% 0.19 269.5)
XYZxyz(7.1636, 3.8824, 32.2636)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C239D #9D961C
analogous
#1C649D #1C239D #561C9D
triadic
#1C239D #9D1C23 #239D1C
tetradic
#1C239D #9D1C64 #9D961C #1C9D56
square
#1C239D #9D1C64 #9D961C #1C9D56
split-complementary
#1C239D #9D561C #649D1C
monochromatic
#090C35 #131769 #1C239D #252FD1 #535BE0

Accessibility & contrast

On white

11.82
#1C239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1C239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C239D
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C239D#FFFFFF#000000##FFFFFF
##1C239D1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c239d;
/* rgb */ color: rgb(28, 35, 157);
/* oklch */ color: oklch(35.6% 0.190 269.5);
Tailwind
colors: {
  custom: {
    50: '#7260bb',
    500: '#1c239d',
    950: '#000000',
  },
}
SCSS
$custom: #1c239d;
$custom-light: #7260bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c239d",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 236.744,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35635,
    "c": 0.19009,
    "h": 269.5
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#1C239D
secondary
#C3BD51
accent
#E33BED
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1C239D

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

Preview Lab → · Contrast checker → · Palette generator →

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