#1C336D#1C336D

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

Color values

HEX#1C336D
RGBrgb(28, 51, 109)
HSLhsl(223, 59%, 27%)
HSVhsv(223, 74%, 43%)
CMYKcmyk(74.3%, 53.2%, 0%, 57.3%)
CIE-LABlab(22.72, 12.95, -36.42)
CIE-LCHlch(22.72, 38.66, 289.57°)
OKLaboklab(33.83% -0.0092 -0.1046)
OKLCHoklch(33.83% 0.105 265)
XYZxyz(4.4221, 3.7182, 14.9497)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C336D #6D561C
analogous
#1C5C6D #1C336D #2E1C6D
triadic
#1C336D #6D1C33 #336D1C
tetradic
#1C336D #6D1C5C #6D561C #1C6D2E
square
#1C336D #6D1C5C #6D561C #1C6D2E
split-complementary
#1C336D #6D2E1C #5C6D1C
monochromatic
#060B18 #0F1C3C #1C336D #294A9E #3862CC

Accessibility & contrast

On white

12.04
#1C336D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C336D
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C336D#FFFFFF#000000##FFFFFF
##1C336D1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103A6F
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c336d;
/* rgb */ color: rgb(28, 51, 109);
/* oklch */ color: oklch(33.8% 0.105 265.0);
Tailwind
colors: {
  custom: {
    50: '#646a97',
    500: '#1c336d',
    950: '#000000',
  },
}
SCSS
$custom: #1c336d;
$custom-light: #646a97;
$custom-dark: #000000;
JSON
{
  "hex": "#1c336d",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 222.963,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33834,
    "c": 0.10503,
    "h": 265
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#1C336D
secondary
#A28743
accent
#B645E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1C336D

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

Preview Lab → · Contrast checker → · Palette generator →

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