#1C268D#1C268D

#1C268D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.167 H 269.8°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1C268D
RGBrgb(28, 38, 141)
HSLhsl(235, 67%, 33%)
HSVhsv(235, 80%, 55%)
CMYKcmyk(80.1%, 73%, 0%, 44.7%)
CIE-LABlab(22.14, 34.43, -57.62)
CIE-LCHlch(22.14, 67.12, 300.86°)
OKLaboklab(34.3% -0.0005 -0.1669)
OKLCHoklch(34.3% 0.167 269.8)
XYZxyz(5.9781, 3.5555, 25.5654)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C268D #8D831C
analogous
#1C5E8D #1C268D #4A1C8D
triadic
#1C268D #8D1C26 #268D1C
tetradic
#1C268D #8D1C5E #8D831C #1C8D4A
square
#1C268D #8D1C5E #8D831C #1C8D4A
split-complementary
#1C268D #8D4A1C #5E8D1C
monochromatic
#080A27 #12185A #1C268D #2634C0 #4956DB

Accessibility & contrast

On white

12.27
#1C268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C268D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C268D#FFFFFF#000000##FFFFFF
##1C268D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c268d;
/* rgb */ color: rgb(28, 38, 141);
/* oklch */ color: oklch(34.3% 0.167 269.8);
Tailwind
colors: {
  custom: {
    50: '#6d61af',
    500: '#1c268d',
    950: '#000000',
  },
}
SCSS
$custom: #1c268d;
$custom-light: #6d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c268d",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 234.69,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34302,
    "c": 0.16687,
    "h": 269.8
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#1C268D
secondary
#BDB248
accent
#DB3EEA
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C268D

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

Preview Lab → · Contrast checker → · Palette generator →

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