#1C237D#1C237D

#1C237D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.149 H 271.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#1C237D
RGBrgb(28, 35, 125)
HSLhsl(236, 63%, 30%)
HSVhsv(236, 78%, 49%)
CMYKcmyk(77.6%, 72%, 0%, 51%)
CIE-LABlab(19.76, 30.43, -51.49)
CIE-LCHlch(19.76, 59.81, 300.59°)
OKLaboklab(32.08% 0.0031 -0.149)
OKLCHoklch(32.08% 0.149 271.2)
XYZxyz(4.7803, 2.9291, 19.7115)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C237D #7D761C
analogous
#1C547D #1C237D #451C7D
triadic
#1C237D #7D1C23 #237D1C
tetradic
#1C237D #7D1C54 #7D761C #1C7D45
square
#1C237D #7D1C54 #7D761C #1C7D45
split-complementary
#1C237D #7D451C #547D1C
monochromatic
#060719 #11154B #1C237D #2731AF #3F4AD4

Accessibility & contrast

On white

13.24
#1C237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1C237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C237D
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C237D#FFFFFF#000000##FFFFFF
##1C237D1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c237d;
/* rgb */ color: rgb(28, 35, 125);
/* oklch */ color: oklch(32.1% 0.149 271.2);
Tailwind
colors: {
  custom: {
    50: '#695ea4',
    500: '#1c237d',
    950: '#000000',
  },
}
SCSS
$custom: #1c237d;
$custom-light: #695ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c237d",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 235.67,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.32078,
    "c": 0.14903,
    "h": 271.2
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#1C237D
secondary
#B1A944
accent
#DB41E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C237D

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

Preview Lab → · Contrast checker → · Palette generator →

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