#1C239F#1C239F

#1C239F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.193 H 269.4°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#1C239F
RGBrgb(28, 35, 159)
HSLhsl(237, 70%, 37%)
HSVhsv(237, 82%, 62%)
CMYKcmyk(82.4%, 78%, 0%, 37.6%)
CIE-LABlab(23.51, 42.58, -66.45)
CIE-LCHlch(23.51, 78.93, 302.65°)
OKLaboklab(35.87% -0.0021 -0.1925)
OKLCHoklch(35.87% 0.193 269.4)
XYZxyz(7.3358, 3.9513, 33.1702)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C239F #9F981C
analogous
#1C659F #1C239F #571C9F
triadic
#1C239F #9F1C23 #239F1C
tetradic
#1C239F #9F1C65 #9F981C #1C9F57
square
#1C239F #9F1C65 #9F981C #1C9F57
split-complementary
#1C239F #9F571C #659F1C
monochromatic
#0A0C37 #13186B #1C239F #252ED3 #545CE1

Accessibility & contrast

On white

11.73
#1C239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C239F
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C239F#FFFFFF#000000##FFFFFF
##1C239F1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c239f;
/* rgb */ color: rgb(28, 35, 159);
/* oklch */ color: oklch(35.9% 0.193 269.4);
Tailwind
colors: {
  custom: {
    50: '#7360bd',
    500: '#1c239f',
    950: '#000000',
  },
}
SCSS
$custom: #1c239f;
$custom-light: #7360bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c239f",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 236.794,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35866,
    "c": 0.19253,
    "h": 269.4
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#1C239F
secondary
#C4BE53
accent
#E33BED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1C239F

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

Preview Lab → · Contrast checker → · Palette generator →

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