#1C337E#1C337E

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

Color values

HEX#1C337E
RGBrgb(28, 51, 126)
HSLhsl(226, 64%, 30%)
HSVhsv(226, 78%, 49%)
CMYKcmyk(77.8%, 59.5%, 0%, 50.6%)
CIE-LABlab(24.07, 19.84, -45.07)
CIE-LCHlch(24.07, 49.25, 293.76°)
OKLaboklab(35.28% -0.0078 -0.1301)
OKLCHoklch(35.28% 0.13 266.6)
XYZxyz(5.4273, 4.1203, 20.2439)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C337E #7E671C
analogous
#1C647E #1C337E #361C7E
triadic
#1C337E #7E1C33 #337E1C
tetradic
#1C337E #7E1C64 #7E671C #1C7E36
square
#1C337E #7E1C64 #7E671C #1C7E36
split-complementary
#1C337E #7E361C #647E1C
monochromatic
#060A1A #111F4C #1C337E #2747B0 #4063D5

Accessibility & contrast

On white

11.51
#1C337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1C337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C337E
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C337E#FFFFFF#000000##FFFFFF
##1C337E1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c337e;
/* rgb */ color: rgb(28, 51, 126);
/* oklch */ color: oklch(35.3% 0.130 266.6);
Tailwind
colors: {
  custom: {
    50: '#686aa4',
    500: '#1c337e',
    950: '#000000',
  },
}
SCSS
$custom: #1c337e;
$custom-light: #686aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c337e",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 225.918,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35279,
    "c": 0.13029,
    "h": 266.6
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C337E

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

Preview Lab → · Contrast checker → · Palette generator →

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