#1C236E#1C236E

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

Color values

HEX#1C236E
RGBrgb(28, 35, 110)
HSLhsl(235, 59%, 27%)
HSVhsv(235, 75%, 43%)
CMYKcmyk(74.5%, 68.2%, 0%, 56.9%)
CIE-LABlab(18.25, 24.72, -44.33)
CIE-LCHlch(18.25, 50.76, 299.15°)
OKLaboklab(30.53% 0.0046 -0.1281)
OKLCHoklch(30.53% 0.128 272.1)
XYZxyz(3.8934, 2.5743, 15.0405)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C236E #6E671C
analogous
#1C4C6E #1C236E #3E1C6E
triadic
#1C236E #6E1C23 #236E1C
tetradic
#1C236E #6E1C4C #6E671C #1C6E3E
square
#1C236E #6E1C4C #6E671C #1C6E3E
split-complementary
#1C236E #6E3E1C #4C6E1C
monochromatic
#060818 #10133D #1C236E #28339F #3845CC

Accessibility & contrast

On white

13.86
#1C236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1C236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C236E
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C236E#FFFFFF#000000##FFFFFF
##1C236E1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c236e;
/* rgb */ color: rgb(28, 35, 110);
/* oklch */ color: oklch(30.5% 0.128 272.1);
Tailwind
colors: {
  custom: {
    50: '#655e98',
    500: '#1c236e',
    950: '#000000',
  },
}
SCSS
$custom: #1c236e;
$custom-light: #655e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1c236e",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 234.878,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30525,
    "c": 0.12816,
    "h": 272.1
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#1C236E
secondary
#A39B43
accent
#D545E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1C236E

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

Preview Lab → · Contrast checker → · Palette generator →

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