#1C237A#1C237A

#1C237A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.145 H 271.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#1C237A
RGBrgb(28, 35, 122)
HSLhsl(236, 63%, 29%)
HSVhsv(236, 77%, 48%)
CMYKcmyk(77%, 71.3%, 0%, 52.2%)
CIE-LABlab(19.45, 29.31, -50.09)
CIE-LCHlch(19.45, 58.03, 300.33°)
OKLaboklab(31.76% 0.0035 -0.1449)
OKLCHoklch(31.76% 0.145 271.4)
XYZxyz(4.5916, 2.8536, 18.7174)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C237A #7A731C
analogous
#1C527A #1C237A #441C7A
triadic
#1C237A #7A1C23 #237A1C
tetradic
#1C237A #7A1C52 #7A731C #1C7A44
square
#1C237A #7A1C52 #7A731C #1C7A44
split-complementary
#1C237A #7A441C #527A1C
monochromatic
#060719 #111548 #1C237A #2731AC #3E49D3

Accessibility & contrast

On white

13.37
#1C237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1C237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C237A
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C237A#FFFFFF#000000##FFFFFF
##1C237A1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c237a;
/* rgb */ color: rgb(28, 35, 122);
/* oklch */ color: oklch(31.8% 0.145 271.4);
Tailwind
colors: {
  custom: {
    50: '#695ea1',
    500: '#1c237a',
    950: '#000000',
  },
}
SCSS
$custom: #1c237a;
$custom-light: #695ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c237a",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 235.532,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3176,
    "c": 0.14495,
    "h": 271.4
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#1C237A
secondary
#AEA644
accent
#DA42E6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C237A

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

Preview Lab → · Contrast checker → · Palette generator →

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