#1C236B#1C236B

#1C236B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.124 H 272.2°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#1C236B
RGBrgb(28, 35, 107)
HSLhsl(235, 59%, 26%)
HSVhsv(235, 74%, 42%)
CMYKcmyk(73.8%, 67.3%, 0%, 58%)
CIE-LABlab(17.96, 23.56, -42.85)
CIE-LCHlch(17.96, 48.90, 298.80°)
OKLaboklab(30.23% 0.0049 -0.1237)
OKLCHoklch(30.23% 0.124 272.2)
XYZxyz(3.7329, 2.5101, 14.1948)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C236B #6B641C
analogous
#1C4B6B #1C236B #3D1C6B
triadic
#1C236B #6B1C23 #236B1C
tetradic
#1C236B #6B1C4B #6B641C #1C6B3D
square
#1C236B #6B1C4B #6B641C #1C6B3D
split-complementary
#1C236B #6B3D1C #4B6B1C
monochromatic
#060818 #0F133A #1C236B #29339C #3744CB

Accessibility & contrast

On white

13.98
#1C236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1C236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C236B
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C236B#FFFFFF#000000##FFFFFF
##1C236B1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c236b;
/* rgb */ color: rgb(28, 35, 107);
/* oklch */ color: oklch(30.2% 0.124 272.2);
Tailwind
colors: {
  custom: {
    50: '#655e96',
    500: '#1c236b',
    950: '#000000',
  },
}
SCSS
$custom: #1c236b;
$custom-light: #655e96;
$custom-dark: #000000;
JSON
{
  "hex": "#1c236b",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 234.684,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30227,
    "c": 0.12384,
    "h": 272.2
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#1C236B
secondary
#A09843
accent
#D446E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1C236B

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

Preview Lab → · Contrast checker → · Palette generator →

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