#1C267F#1C267F

#1C267F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.148 H 270.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#1C267F
RGBrgb(28, 38, 127)
HSLhsl(234, 64%, 30%)
HSVhsv(234, 78%, 50%)
CMYKcmyk(78%, 70.1%, 0%, 50.2%)
CIE-LABlab(20.69, 29.21, -51.22)
CIE-LCHlch(20.69, 58.96, 299.69°)
OKLaboklab(32.82% 0.0011 -0.1482)
OKLCHoklch(32.82% 0.148 270.4)
XYZxyz(5.0015, 3.1649, 20.4218)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C267F #7F751C
analogous
#1C587F #1C267F #431C7F
triadic
#1C267F #7F1C26 #267F1C
tetradic
#1C267F #7F1C58 #7F751C #1C7F43
square
#1C267F #7F1C58 #7F751C #1C7F43
split-complementary
#1C267F #7F431C #587F1C
monochromatic
#06081B #11174D #1C267F #2735B1 #404FD5

Accessibility & contrast

On white

12.86
#1C267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C267F
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C267F#FFFFFF#000000##FFFFFF
##1C267F1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c267f;
/* rgb */ color: rgb(28, 38, 127);
/* oklch */ color: oklch(32.8% 0.148 270.4);
Tailwind
colors: {
  custom: {
    50: '#6a60a5',
    500: '#1c267f',
    950: '#000000',
  },
}
SCSS
$custom: #1c267f;
$custom-light: #6a60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c267f",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 233.939,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32817,
    "c": 0.14821,
    "h": 270.4
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C267F

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

Preview Lab → · Contrast checker → · Palette generator →

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