#1C237F#1C237F

#1C237F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.152 H 271.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#1C237F
RGBrgb(28, 35, 127)
HSLhsl(236, 64%, 30%)
HSVhsv(236, 78%, 50%)
CMYKcmyk(78%, 72.4%, 0%, 50.2%)
CIE-LABlab(19.97, 31.18, -52.41)
CIE-LCHlch(19.97, 60.99, 300.75°)
OKLaboklab(32.29% 0.0028 -0.1517)
OKLCHoklch(32.29% 0.152 271.1)
XYZxyz(4.9094, 2.9807, 20.3912)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C237F #7F781C
analogous
#1C547F #1C237F #471C7F
triadic
#1C237F #7F1C23 #237F1C
tetradic
#1C237F #7F1C54 #7F781C #1C7F47
square
#1C237F #7F1C54 #7F781C #1C7F47
split-complementary
#1C237F #7F471C #547F1C
monochromatic
#06071B #11154D #1C237F #2731B1 #404BD5

Accessibility & contrast

On white

13.16
#1C237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1C237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C237F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C237F#FFFFFF#000000##FFFFFF
##1C237F1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c237f;
/* rgb */ color: rgb(28, 35, 127);
/* oklch */ color: oklch(32.3% 0.152 271.1);
Tailwind
colors: {
  custom: {
    50: '#6a5ea5',
    500: '#1c237f',
    950: '#000000',
  },
}
SCSS
$custom: #1c237f;
$custom-light: #6a5ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c237f",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 235.758,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32292,
    "c": 0.15173,
    "h": 271.1
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#1C237F
secondary
#B3AB44
accent
#DB41E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1C237F

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

Preview Lab → · Contrast checker → · Palette generator →

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