#1C335B#1C335B

#1C335B is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.5% C 0.077 H 260.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#1C335B
RGBrgb(28, 51, 91)
HSLhsl(218, 53%, 23%)
HSVhsv(218, 69%, 36%)
CMYKcmyk(69.2%, 44%, 0%, 64.3%)
CIE-LABlab(21.47, 5.65, -26.70)
CIE-LCHlch(21.47, 27.29, 281.94°)
OKLaboklab(32.47% -0.0124 -0.0761)
OKLCHoklch(32.47% 0.077 260.7)
XYZxyz(3.5504, 3.3695, 10.3588)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C335B #5B441C
analogous
#1C525B #1C335B #241C5B
triadic
#1C335B #5B1C33 #335B1C
tetradic
#1C335B #5B1C52 #5B441C #1C5B24
square
#1C335B #5B1C52 #5B441C #1C5B24
split-complementary
#1C335B #5B241C #525B1C
monochromatic
#070D17 #0E192C #1C335B #2A4D8A #3967B9

Accessibility & contrast

On white

12.54
#1C335B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C335B
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C335B#FFFFFF#000000##FFFFFF
##1C335B1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21375D
Deuteranopia (green-blind)
#18315A
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c335b;
/* rgb */ color: rgb(28, 51, 91);
/* oklch */ color: oklch(32.5% 0.077 260.7);
Tailwind
colors: {
  custom: {
    50: '#606a89',
    500: '#1c335b',
    950: '#000000',
  },
}
SCSS
$custom: #1c335b;
$custom-light: #606a89;
$custom-dark: #000000;
JSON
{
  "hex": "#1c335b",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 218.095,
    "s": 52.941,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32473,
    "c": 0.07706,
    "h": 260.7
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#1C335B
secondary
#907442
accent
#A74BDC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1C335B

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

Preview Lab → · Contrast checker → · Palette generator →

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