#1C337B#1C337B

#1C337B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.126 H 266.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#1C337B
RGBrgb(28, 51, 123)
HSLhsl(225, 63%, 30%)
HSVhsv(225, 77%, 48%)
CMYKcmyk(77.2%, 58.5%, 0%, 51.8%)
CIE-LABlab(23.82, 18.63, -43.58)
CIE-LCHlch(23.82, 47.40, 293.15°)
OKLaboklab(35.01% -0.0079 -0.1257)
OKLCHoklch(35.01% 0.126 266.4)
XYZxyz(5.2366, 4.0440, 19.2396)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C337B #7B641C
analogous
#1C637B #1C337B #351C7B
triadic
#1C337B #7B1C33 #337B1C
tetradic
#1C337B #7B1C63 #7B641C #1C7B35
square
#1C337B #7B1C63 #7B641C #1C7B35
split-complementary
#1C337B #7B351C #637B1C
monochromatic
#060A19 #111E49 #1C337B #2748AD #3E62D3

Accessibility & contrast

On white

11.61
#1C337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C337B
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C337B#FFFFFF#000000##FFFFFF
##1C337B1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c337b;
/* rgb */ color: rgb(28, 51, 123);
/* oklch */ color: oklch(35.0% 0.126 266.4);
Tailwind
colors: {
  custom: {
    50: '#676aa2',
    500: '#1c337b',
    950: '#000000',
  },
}
SCSS
$custom: #1c337b;
$custom-light: #676aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c337b",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 225.474,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35014,
    "c": 0.12593,
    "h": 266.4
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C337B

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

Preview Lab → · Contrast checker → · Palette generator →

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