#1C268C#1C268C

#1C268C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.166 H 269.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1C268C
RGBrgb(28, 38, 140)
HSLhsl(235, 67%, 33%)
HSVhsv(235, 80%, 55%)
CMYKcmyk(80%, 72.9%, 0%, 45.1%)
CIE-LABlab(22.04, 34.06, -57.17)
CIE-LCHlch(22.04, 66.55, 300.79°)
OKLaboklab(34.19% -0.0003 -0.1656)
OKLCHoklch(34.19% 0.166 269.9)
XYZxyz(5.9040, 3.5259, 25.1753)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C268C #8C821C
analogous
#1C5E8C #1C268C #4A1C8C
triadic
#1C268C #8C1C26 #268C1C
tetradic
#1C268C #8C1C5E #8C821C #1C8C4A
square
#1C268C #8C1C5E #8C821C #1C8C4A
split-complementary
#1C268C #8C4A1C #5E8C1C
monochromatic
#080A26 #121859 #1C268C #2634BF #4855DA

Accessibility & contrast

On white

12.31
#1C268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C268C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C268C
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C268C#FFFFFF#000000##FFFFFF
##1C268C1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c268c;
/* rgb */ color: rgb(28, 38, 140);
/* oklch */ color: oklch(34.2% 0.166 269.9);
Tailwind
colors: {
  custom: {
    50: '#6d61af',
    500: '#1c268c',
    950: '#000000',
  },
}
SCSS
$custom: #1c268c;
$custom-light: #6d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c268c",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 234.643,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34194,
    "c": 0.16557,
    "h": 269.9
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#1C268C
secondary
#BCB248
accent
#DA3EEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C268C

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

Preview Lab → · Contrast checker → · Palette generator →

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