#1C336C#1C336C

#1C336C is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.104 H 264.8°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#1C336C
RGBrgb(28, 51, 108)
HSLhsl(223, 59%, 27%)
HSVhsv(223, 74%, 42%)
CMYKcmyk(74.1%, 52.8%, 0%, 57.6%)
CIE-LABlab(22.64, 12.54, -35.90)
CIE-LCHlch(22.64, 38.03, 289.25°)
OKLaboklab(33.75% -0.0093 -0.1031)
OKLCHoklch(33.75% 0.104 264.8)
XYZxyz(4.3685, 3.6968, 14.6678)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C336C #6C551C
analogous
#1C5B6C #1C336C #2D1C6C
triadic
#1C336C #6C1C33 #336C1C
tetradic
#1C336C #6C1C5B #6C551C #1C6C2D
square
#1C336C #6C1C5B #6C551C #1C6C2D
split-complementary
#1C336C #6C2D1C #5B6C1C
monochromatic
#060B18 #0F1C3B #1C336C #294A9D #3762CB

Accessibility & contrast

On white

12.07
#1C336C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1C336C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C336C
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C336C#FFFFFF#000000##FFFFFF
##1C336C1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123A6E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c336c;
/* rgb */ color: rgb(28, 51, 108);
/* oklch */ color: oklch(33.8% 0.104 264.8);
Tailwind
colors: {
  custom: {
    50: '#646a96',
    500: '#1c336c',
    950: '#000000',
  },
}
SCSS
$custom: #1c336c;
$custom-light: #646a96;
$custom-dark: #000000;
JSON
{
  "hex": "#1c336c",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 222.75,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33754,
    "c": 0.10351,
    "h": 264.8
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#1C336C
secondary
#A18643
accent
#B546E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1C336C

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

Preview Lab → · Contrast checker → · Palette generator →

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