#1C267B#1C267B

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

Color values

HEX#1C267B
RGBrgb(28, 38, 123)
HSLhsl(234, 63%, 30%)
HSVhsv(234, 77%, 48%)
CMYKcmyk(77.2%, 69.1%, 0%, 51.8%)
CIE-LABlab(20.29, 27.68, -49.34)
CIE-LCHlch(20.29, 56.57, 299.30°)
OKLaboklab(32.41% 0.0015 -0.1427)
OKLCHoklch(32.41% 0.143 270.6)
XYZxyz(4.7459, 3.0627, 19.0761)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C267B #7B711C
analogous
#1C567B #1C267B #411C7B
triadic
#1C267B #7B1C26 #267B1C
tetradic
#1C267B #7B1C56 #7B711C #1C7B41
square
#1C267B #7B1C56 #7B711C #1C7B41
split-complementary
#1C267B #7B411C #567B1C
monochromatic
#060819 #111749 #1C267B #2735AD #3E4ED3

Accessibility & contrast

On white

13.02
#1C267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C267B
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C267B#FFFFFF#000000##FFFFFF
##1C267B1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c267b;
/* rgb */ color: rgb(28, 38, 123);
/* oklch */ color: oklch(32.4% 0.143 270.6);
Tailwind
colors: {
  custom: {
    50: '#6960a2',
    500: '#1c267b',
    950: '#000000',
  },
}
SCSS
$custom: #1c267b;
$custom-light: #6960a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c267b",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 233.684,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32405,
    "c": 0.14272,
    "h": 270.6
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C267B

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

Preview Lab → · Contrast checker → · Palette generator →

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