#1C2268#1C2268

#1C2268 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.121 H 272.8°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#1C2268
RGBrgb(28, 34, 104)
HSLhsl(235, 58%, 26%)
HSVhsv(235, 73%, 41%)
CMYKcmyk(73.1%, 67.3%, 0%, 59.2%)
CIE-LABlab(17.41, 23.09, -41.79)
CIE-LCHlch(17.41, 47.75, 298.92°)
OKLaboklab(29.74% 0.0058 -0.1206)
OKLCHoklch(29.74% 0.121 272.8)
XYZxyz(3.5488, 2.3901, 13.3683)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2268 #68621C
analogous
#1C4868 #1C2268 #3C1C68
triadic
#1C2268 #681C22 #22681C
tetradic
#1C2268 #681C48 #68621C #1C683C
square
#1C2268 #681C48 #68621C #1C683C
split-complementary
#1C2268 #683C1C #48681C
monochromatic
#060818 #0F1238 #1C2268 #293298 #3642C8

Accessibility & contrast

On white

14.21
#1C2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1C2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2268
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2268#FFFFFF#000000##FFFFFF
##1C22681.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c2268;
/* rgb */ color: rgb(28, 34, 104);
/* oklch */ color: oklch(29.7% 0.121 272.8);
Tailwind
colors: {
  custom: {
    50: '#645d94',
    500: '#1c2268',
    950: '#000000',
  },
}
SCSS
$custom: #1c2268;
$custom-light: #645d94;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2268",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 235.263,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29735,
    "c": 0.12079,
    "h": 272.8
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#1C2268
secondary
#9D9643
accent
#D547E1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1C2268

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

Preview Lab → · Contrast checker → · Palette generator →

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