#1C337F#1C337F

#1C337F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.132 H 266.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#1C337F
RGBrgb(28, 51, 127)
HSLhsl(226, 64%, 30%)
HSVhsv(226, 78%, 50%)
CMYKcmyk(78%, 59.8%, 0%, 50.2%)
CIE-LABlab(24.15, 20.25, -45.57)
CIE-LCHlch(24.15, 49.86, 293.96°)
OKLaboklab(35.37% -0.0077 -0.1315)
OKLCHoklch(35.37% 0.132 266.6)
XYZxyz(5.4921, 4.1462, 20.5854)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C337F #7F681C
analogous
#1C647F #1C337F #371C7F
triadic
#1C337F #7F1C33 #337F1C
tetradic
#1C337F #7F1C64 #7F681C #1C7F37
square
#1C337F #7F1C64 #7F681C #1C7F37
split-complementary
#1C337F #7F371C #647F1C
monochromatic
#060B1B #111F4D #1C337F #2747B1 #4063D5

Accessibility & contrast

On white

11.48
#1C337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1C337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C337F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C337F#FFFFFF#000000##FFFFFF
##1C337F1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c337f;
/* rgb */ color: rgb(28, 51, 127);
/* oklch */ color: oklch(35.4% 0.132 266.6);
Tailwind
colors: {
  custom: {
    50: '#686aa5',
    500: '#1c337f',
    950: '#000000',
  },
}
SCSS
$custom: #1c337f;
$custom-light: #686aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c337f",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 226.061,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35368,
    "c": 0.13174,
    "h": 266.6
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#1C337F
secondary
#B39944
accent
#C041E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C337F

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

Preview Lab → · Contrast checker → · Palette generator →

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