#1C236D#1C236D

#1C236D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.4% C 0.127 H 272.1°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#1C236D
RGBrgb(28, 35, 109)
HSLhsl(235, 59%, 27%)
HSVhsv(235, 74%, 43%)
CMYKcmyk(74.3%, 67.9%, 0%, 57.3%)
CIE-LABlab(18.16, 24.34, -43.84)
CIE-LCHlch(18.16, 50.14, 299.03°)
OKLaboklab(30.43% 0.0047 -0.1266)
OKLCHoklch(30.43% 0.127 272.1)
XYZxyz(3.8393, 2.5527, 14.7554)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C236D #6D661C
analogous
#1C4C6D #1C236D #3E1C6D
triadic
#1C236D #6D1C23 #236D1C
tetradic
#1C236D #6D1C4C #6D661C #1C6D3E
square
#1C236D #6D1C4C #6D661C #1C6D3E
split-complementary
#1C236D #6D3E1C #4C6D1C
monochromatic
#060818 #0F133C #1C236D #29339E #3844CC

Accessibility & contrast

On white

13.90
#1C236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1C236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C236D
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C236D#FFFFFF#000000##FFFFFF
##1C236D1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c236d;
/* rgb */ color: rgb(28, 35, 109);
/* oklch */ color: oklch(30.4% 0.127 272.1);
Tailwind
colors: {
  custom: {
    50: '#655e98',
    500: '#1c236d',
    950: '#000000',
  },
}
SCSS
$custom: #1c236d;
$custom-light: #655e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1c236d",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 234.815,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30425,
    "c": 0.12673,
    "h": 272.1
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#1C236D
secondary
#A29A43
accent
#D545E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1C236D

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

Preview Lab → · Contrast checker → · Palette generator →

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