#1C267D#1C267D

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

Color values

HEX#1C267D
RGBrgb(28, 38, 125)
HSLhsl(234, 63%, 30%)
HSVhsv(234, 78%, 49%)
CMYKcmyk(77.6%, 69.6%, 0%, 51%)
CIE-LABlab(20.49, 28.45, -50.28)
CIE-LCHlch(20.49, 57.77, 299.50°)
OKLaboklab(32.61% 0.0013 -0.1455)
OKLCHoklch(32.61% 0.145 270.5)
XYZxyz(4.8724, 3.1133, 19.7422)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C267D #7D731C
analogous
#1C577D #1C267D #421C7D
triadic
#1C267D #7D1C26 #267D1C
tetradic
#1C267D #7D1C57 #7D731C #1C7D42
square
#1C267D #7D1C57 #7D731C #1C7D42
split-complementary
#1C267D #7D421C #577D1C
monochromatic
#060819 #11174B #1C267D #2735AF #3F4FD4

Accessibility & contrast

On white

12.94
#1C267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C267D
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C267D#FFFFFF#000000##FFFFFF
##1C267D1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c267d;
/* rgb */ color: rgb(28, 38, 125);
/* oklch */ color: oklch(32.6% 0.145 270.5);
Tailwind
colors: {
  custom: {
    50: '#6960a4',
    500: '#1c267d',
    950: '#000000',
  },
}
SCSS
$custom: #1c267d;
$custom-light: #6960a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c267d",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 233.814,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.3261,
    "c": 0.14548,
    "h": 270.5
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#1C267D
secondary
#B1A644
accent
#D541E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C267D

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

Preview Lab → · Contrast checker → · Palette generator →

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