#1C337D#1C337D

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

Color values

HEX#1C337D
RGBrgb(28, 51, 125)
HSLhsl(226, 63%, 30%)
HSVhsv(226, 78%, 49%)
CMYKcmyk(77.6%, 59.2%, 0%, 51%)
CIE-LABlab(23.98, 19.44, -44.58)
CIE-LCHlch(23.98, 48.63, 293.56°)
OKLaboklab(35.19% -0.0078 -0.1286)
OKLCHoklch(35.19% 0.129 266.5)
XYZxyz(5.3631, 4.0946, 19.9057)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C337D #7D661C
analogous
#1C647D #1C337D #351C7D
triadic
#1C337D #7D1C33 #337D1C
tetradic
#1C337D #7D1C64 #7D661C #1C7D35
square
#1C337D #7D1C64 #7D661C #1C7D35
split-complementary
#1C337D #7D351C #647D1C
monochromatic
#060A19 #111F4B #1C337D #2747AF #3F63D4

Accessibility & contrast

On white

11.54
#1C337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C337D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C337D#FFFFFF#000000##FFFFFF
##1C337D1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c337d;
/* rgb */ color: rgb(28, 51, 125);
/* oklch */ color: oklch(35.2% 0.129 266.5);
Tailwind
colors: {
  custom: {
    50: '#686aa3',
    500: '#1c337d',
    950: '#000000',
  },
}
SCSS
$custom: #1c337d;
$custom-light: #686aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c337d",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 225.773,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.3519,
    "c": 0.12885,
    "h": 266.5
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#1C337D
secondary
#B19744
accent
#BF41E6
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C337D

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

Preview Lab → · Contrast checker → · Palette generator →

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