#1C267E#1C267E

#1C267E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.147 H 270.5°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#1C267E
RGBrgb(28, 38, 126)
HSLhsl(234, 64%, 30%)
HSVhsv(234, 78%, 49%)
CMYKcmyk(77.8%, 69.8%, 0%, 50.6%)
CIE-LABlab(20.59, 28.83, -50.75)
CIE-LCHlch(20.59, 58.37, 299.60°)
OKLaboklab(32.71% 0.0012 -0.1468)
OKLCHoklch(32.71% 0.147 270.5)
XYZxyz(4.9366, 3.1389, 20.0803)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C267E #7E741C
analogous
#1C577E #1C267E #431C7E
triadic
#1C267E #7E1C26 #267E1C
tetradic
#1C267E #7E1C57 #7E741C #1C7E43
square
#1C267E #7E1C57 #7E741C #1C7E43
split-complementary
#1C267E #7E431C #577E1C
monochromatic
#06081A #11174C #1C267E #2735B0 #404FD5

Accessibility & contrast

On white

12.90
#1C267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1C267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C267E
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C267E#FFFFFF#000000##FFFFFF
##1C267E1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c267e;
/* rgb */ color: rgb(28, 38, 126);
/* oklch */ color: oklch(32.7% 0.147 270.5);
Tailwind
colors: {
  custom: {
    50: '#6960a4',
    500: '#1c267e',
    950: '#000000',
  },
}
SCSS
$custom: #1c267e;
$custom-light: #6960a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c267e",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 233.878,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32713,
    "c": 0.14685,
    "h": 270.5
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#1C267E
secondary
#B2A644
accent
#D641E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C267E

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

Preview Lab → · Contrast checker → · Palette generator →

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