#1C236A#1C236A

#1C236A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.122 H 272.3°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#1C236A
RGBrgb(28, 35, 106)
HSLhsl(235, 58%, 26%)
HSVhsv(235, 74%, 42%)
CMYKcmyk(73.6%, 67%, 0%, 58.4%)
CIE-LABlab(17.87, 23.17, -42.36)
CIE-LCHlch(17.87, 48.28, 298.68°)
OKLaboklab(30.13% 0.0049 -0.1223)
OKLCHoklch(30.13% 0.122 272.3)
XYZxyz(3.6806, 2.4892, 13.9194)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C236A #6A631C
analogous
#1C4A6A #1C236A #3C1C6A
triadic
#1C236A #6A1C23 #236A1C
tetradic
#1C236A #6A1C4A #6A631C #1C6A3C
square
#1C236A #6A1C4A #6A631C #1C6A3C
split-complementary
#1C236A #6A3C1C #4A6A1C
monochromatic
#060818 #0F133A #1C236A #29339A #3644CA

Accessibility & contrast

On white

14.02
#1C236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C236A
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C236A#FFFFFF#000000##FFFFFF
##1C236A1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c236a;
/* rgb */ color: rgb(28, 35, 106);
/* oklch */ color: oklch(30.1% 0.122 272.3);
Tailwind
colors: {
  custom: {
    50: '#645e95',
    500: '#1c236a',
    950: '#000000',
  },
}
SCSS
$custom: #1c236a;
$custom-light: #645e95;
$custom-dark: #000000;
JSON
{
  "hex": "#1c236a",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 234.615,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30128,
    "c": 0.12239,
    "h": 272.3
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#1C236A
secondary
#9F9743
accent
#D446E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1C236A

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

Preview Lab → · Contrast checker → · Palette generator →

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