#1C2A7B#1C2A7B

#1C2A7B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.138 H 269.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#1C2A7B
RGBrgb(28, 42, 123)
HSLhsl(231, 63%, 30%)
HSVhsv(231, 77%, 48%)
CMYKcmyk(77.2%, 65.9%, 0%, 51.8%)
CIE-LABlab(21.33, 24.95, -47.64)
CIE-LCHlch(21.33, 53.78, 297.64°)
OKLaboklab(33.16% -0.0011 -0.1377)
OKLCHoklch(33.16% 0.138 269.5)
XYZxyz(4.8808, 3.3323, 19.1210)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A7B #7B6D1C
analogous
#1C5A7B #1C2A7B #3E1C7B
triadic
#1C2A7B #7B1C2A #2A7B1C
tetradic
#1C2A7B #7B1C5A #7B6D1C #1C7B3E
square
#1C2A7B #7B1C5A #7B6D1C #1C7B3E
split-complementary
#1C2A7B #7B3E1C #5A7B1C
monochromatic
#060919 #111949 #1C2A7B #273BAD #3E54D3

Accessibility & contrast

On white

12.60
#1C2A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1C2A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A7B
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A7B#FFFFFF#000000##FFFFFF
##1C2A7B1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c2a7b;
/* rgb */ color: rgb(28, 42, 123);
/* oklch */ color: oklch(33.2% 0.138 269.5);
Tailwind
colors: {
  custom: {
    50: '#6863a2',
    500: '#1c2a7b',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a7b;
$custom-light: #6863a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a7b",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 231.158,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33163,
    "c": 0.13771,
    "h": 269.5
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#1C2A7B
secondary
#AF9F44
accent
#CE42E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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