#1C267A#1C267A

#1C267A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.141 H 270.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#1C267A
RGBrgb(28, 38, 122)
HSLhsl(234, 63%, 29%)
HSVhsv(234, 77%, 48%)
CMYKcmyk(77%, 68.9%, 0%, 52.2%)
CIE-LABlab(20.19, 27.30, -48.86)
CIE-LCHlch(20.19, 55.97, 299.19°)
OKLaboklab(32.3% 0.0016 -0.1413)
OKLCHoklch(32.3% 0.141 270.6)
XYZxyz(4.6837, 3.0377, 18.7481)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C267A #7A701C
analogous
#1C557A #1C267A #411C7A
triadic
#1C267A #7A1C26 #267A1C
tetradic
#1C267A #7A1C55 #7A701C #1C7A41
square
#1C267A #7A1C55 #7A701C #1C7A41
split-complementary
#1C267A #7A411C #557A1C
monochromatic
#060819 #111648 #1C267A #2736AC #3E4ED3

Accessibility & contrast

On white

13.06
#1C267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1C267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C267A
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C267A#FFFFFF#000000##FFFFFF
##1C267A1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c267a;
/* rgb */ color: rgb(28, 38, 122);
/* oklch */ color: oklch(32.3% 0.141 270.6);
Tailwind
colors: {
  custom: {
    50: '#6860a1',
    500: '#1c267a',
    950: '#000000',
  },
}
SCSS
$custom: #1c267a;
$custom-light: #6860a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c267a",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 233.617,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32303,
    "c": 0.14133,
    "h": 270.6
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#1C267A
secondary
#AEA344
accent
#D442E6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C267A

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

Preview Lab → · Contrast checker → · Palette generator →

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