#1C237C#1C237C

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

Color values

HEX#1C237C
RGBrgb(28, 35, 124)
HSLhsl(236, 63%, 30%)
HSVhsv(236, 77%, 49%)
CMYKcmyk(77.4%, 71.8%, 0%, 51.4%)
CIE-LABlab(19.65, 30.06, -51.02)
CIE-LCHlch(19.65, 59.22, 300.50°)
OKLaboklab(31.97% 0.0032 -0.1476)
OKLCHoklch(31.97% 0.148 271.2)
XYZxyz(4.7168, 2.9037, 19.3768)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C237C #7C751C
analogous
#1C537C #1C237C #451C7C
triadic
#1C237C #7C1C23 #237C1C
tetradic
#1C237C #7C1C53 #7C751C #1C7C45
square
#1C237C #7C1C53 #7C751C #1C7C45
split-complementary
#1C237C #7C451C #537C1C
monochromatic
#060719 #11154A #1C237C #2731AE #3F4AD4

Accessibility & contrast

On white

13.28
#1C237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1C237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C237C
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C237C#FFFFFF#000000##FFFFFF
##1C237C1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c237c;
/* rgb */ color: rgb(28, 35, 124);
/* oklch */ color: oklch(32.0% 0.148 271.2);
Tailwind
colors: {
  custom: {
    50: '#695ea3',
    500: '#1c237c',
    950: '#000000',
  },
}
SCSS
$custom: #1c237c;
$custom-light: #695ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c237c",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 235.625,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31972,
    "c": 0.14768,
    "h": 271.2
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#1C237C
secondary
#B0A844
accent
#DA42E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C237C

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

Preview Lab → · Contrast checker → · Palette generator →

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