#1C267C#1C267C

#1C267C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.144 H 270.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#1C267C
RGBrgb(28, 38, 124)
HSLhsl(234, 63%, 30%)
HSVhsv(234, 77%, 49%)
CMYKcmyk(77.4%, 69.4%, 0%, 51.4%)
CIE-LABlab(20.39, 28.07, -49.81)
CIE-LCHlch(20.39, 57.17, 299.40°)
OKLaboklab(32.51% 0.0014 -0.1441)
OKLCHoklch(32.51% 0.144 270.6)
XYZxyz(4.8089, 3.0878, 19.4074)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C267C #7C721C
analogous
#1C567C #1C267C #421C7C
triadic
#1C267C #7C1C26 #267C1C
tetradic
#1C267C #7C1C56 #7C721C #1C7C42
square
#1C267C #7C1C56 #7C721C #1C7C42
split-complementary
#1C267C #7C421C #567C1C
monochromatic
#060819 #11174A #1C267C #2735AE #3F4ED4

Accessibility & contrast

On white

12.98
#1C267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1C267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C267C
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C267C#FFFFFF#000000##FFFFFF
##1C267C1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c267c;
/* rgb */ color: rgb(28, 38, 124);
/* oklch */ color: oklch(32.5% 0.144 270.6);
Tailwind
colors: {
  custom: {
    50: '#6960a3',
    500: '#1c267c',
    950: '#000000',
  },
}
SCSS
$custom: #1c267c;
$custom-light: #6960a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c267c",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 233.75,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32507,
    "c": 0.1441,
    "h": 270.6
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#1C267C
secondary
#B0A544
accent
#D542E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C267C

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

Preview Lab → · Contrast checker → · Palette generator →

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