#1C236F#1C236F

#1C236F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.130 H 272.0°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#1C236F
RGBrgb(28, 35, 111)
HSLhsl(235, 60%, 27%)
HSVhsv(235, 75%, 44%)
CMYKcmyk(74.8%, 68.5%, 0%, 56.5%)
CIE-LABlab(18.35, 25.11, -44.82)
CIE-LCHlch(18.35, 51.38, 299.26°)
OKLaboklab(30.63% 0.0046 -0.1295)
OKLCHoklch(30.63% 0.13 272)
XYZxyz(3.9482, 2.5962, 15.3289)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C236F #6F681C
analogous
#1C4C6F #1C236F #3F1C6F
triadic
#1C236F #6F1C23 #236F1C
tetradic
#1C236F #6F1C4C #6F681C #1C6F3F
square
#1C236F #6F1C4C #6F681C #1C6F3F
split-complementary
#1C236F #6F3F1C #4C6F1C
monochromatic
#060818 #10143E #1C236F #2832A0 #3845CD

Accessibility & contrast

On white

13.82
#1C236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C236F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C236F#FFFFFF#000000##FFFFFF
##1C236F1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c236f;
/* rgb */ color: rgb(28, 35, 111);
/* oklch */ color: oklch(30.6% 0.130 272.0);
Tailwind
colors: {
  custom: {
    50: '#665e99',
    500: '#1c236f',
    950: '#000000',
  },
}
SCSS
$custom: #1c236f;
$custom-light: #665e99;
$custom-dark: #000000;
JSON
{
  "hex": "#1c236f",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 234.94,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30626,
    "c": 0.12959,
    "h": 272
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#1C236F
secondary
#A49B43
accent
#D645E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1C236F

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

Preview Lab → · Contrast checker → · Palette generator →

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