#1C337A#1C337A

#1C337A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.124 H 266.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#1C337A
RGBrgb(28, 51, 122)
HSLhsl(225, 63%, 29%)
HSVhsv(225, 77%, 48%)
CMYKcmyk(77%, 58.2%, 0%, 52.2%)
CIE-LABlab(23.73, 18.23, -43.08)
CIE-LCHlch(23.73, 46.78, 292.94°)
OKLaboklab(34.93% -0.008 -0.1242)
OKLCHoklch(34.93% 0.124 266.3)
XYZxyz(5.1743, 4.0191, 18.9116)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C337A #7A631C
analogous
#1C627A #1C337A #341C7A
triadic
#1C337A #7A1C33 #337A1C
tetradic
#1C337A #7A1C62 #7A631C #1C7A34
square
#1C337A #7A1C62 #7A631C #1C7A34
split-complementary
#1C337A #7A341C #627A1C
monochromatic
#060A19 #111E48 #1C337A #2748AC #3E62D3

Accessibility & contrast

On white

11.64
#1C337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1C337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C337A
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C337A#FFFFFF#000000##FFFFFF
##1C337A1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c337a;
/* rgb */ color: rgb(28, 51, 122);
/* oklch */ color: oklch(34.9% 0.124 266.3);
Tailwind
colors: {
  custom: {
    50: '#676aa1',
    500: '#1c337a',
    950: '#000000',
  },
}
SCSS
$custom: #1c337a;
$custom-light: #676aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c337a",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 225.319,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34926,
    "c": 0.12446,
    "h": 266.3
  },
  "luminance": 0.0402
}

Semantic roles & 50–950 ramp

primary
#1C337A
secondary
#AE9444
accent
#BE42E6
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C337A

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

Preview Lab → · Contrast checker → · Palette generator →

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