#1C337C#1C337C

#1C337C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.127 H 266.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#1C337C
RGBrgb(28, 51, 124)
HSLhsl(226, 63%, 30%)
HSVhsv(226, 77%, 49%)
CMYKcmyk(77.4%, 58.9%, 0%, 51.4%)
CIE-LABlab(23.90, 19.04, -44.08)
CIE-LCHlch(23.90, 48.01, 293.36°)
OKLaboklab(35.1% -0.0078 -0.1272)
OKLCHoklch(35.1% 0.127 266.5)
XYZxyz(5.2995, 4.0692, 19.5710)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C337C #7C651C
analogous
#1C637C #1C337C #351C7C
triadic
#1C337C #7C1C33 #337C1C
tetradic
#1C337C #7C1C63 #7C651C #1C7C35
square
#1C337C #7C1C63 #7C651C #1C7C35
split-complementary
#1C337C #7C351C #637C1C
monochromatic
#060A19 #111E4A #1C337C #2748AE #3F62D4

Accessibility & contrast

On white

11.58
#1C337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1C337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C337C
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C337C#FFFFFF#000000##FFFFFF
##1C337C1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c337c;
/* rgb */ color: rgb(28, 51, 124);
/* oklch */ color: oklch(35.1% 0.127 266.5);
Tailwind
colors: {
  custom: {
    50: '#686aa3',
    500: '#1c337c',
    950: '#000000',
  },
}
SCSS
$custom: #1c337c;
$custom-light: #686aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c337c",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 225.625,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35102,
    "c": 0.12739,
    "h": 266.5
  },
  "luminance": 0.0407
}

Semantic roles & 50–950 ramp

primary
#1C337C
secondary
#B09644
accent
#BF42E6
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C337C

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

Preview Lab → · Contrast checker → · Palette generator →

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