#1C335A#1C335A

#1C335A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.4% C 0.075 H 260.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#1C335A
RGBrgb(28, 51, 90)
HSLhsl(218, 53%, 23%)
HSVhsv(218, 69%, 35%)
CMYKcmyk(68.9%, 43.3%, 0%, 64.7%)
CIE-LABlab(21.40, 5.24, -26.15)
CIE-LCHlch(21.40, 26.67, 281.34°)
OKLaboklab(32.4% -0.0127 -0.0744)
OKLCHoklch(32.4% 0.075 260.3)
XYZxyz(3.5075, 3.3524, 10.1331)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C335A #5A431C
analogous
#1C525A #1C335A #241C5A
triadic
#1C335A #5A1C33 #335A1C
tetradic
#1C335A #5A1C52 #5A431C #1C5A24
square
#1C335A #5A1C52 #5A431C #1C5A24
split-complementary
#1C335A #5A241C #525A1C
monochromatic
#070D17 #0D192B #1C335A #2B4D89 #3968B7

Accessibility & contrast

On white

12.57
#1C335A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1C335A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C335A
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C335A#FFFFFF#000000##FFFFFF
##1C335A1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22365C
Deuteranopia (green-blind)
#193159
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c335a;
/* rgb */ color: rgb(28, 51, 90);
/* oklch */ color: oklch(32.4% 0.075 260.3);
Tailwind
colors: {
  custom: {
    50: '#5f6a89',
    500: '#1c335a',
    950: '#000000',
  },
}
SCSS
$custom: #1c335a;
$custom-light: #5f6a89;
$custom-dark: #000000;
JSON
{
  "hex": "#1c335a",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 217.742,
    "s": 52.542,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32403,
    "c": 0.07549,
    "h": 260.3
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#1C335A
secondary
#8F7342
accent
#A64CDC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1C335A

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

Preview Lab → · Contrast checker → · Palette generator →

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