#1C336E#1C336E

#1C336E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.107 H 265.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#1C336E
RGBrgb(28, 51, 110)
HSLhsl(223, 59%, 27%)
HSVhsv(223, 75%, 43%)
CMYKcmyk(74.5%, 53.6%, 0%, 56.9%)
CIE-LABlab(22.79, 13.35, -36.95)
CIE-LCHlch(22.79, 39.29, 289.87°)
OKLaboklab(33.92% -0.009 -0.1062)
OKLCHoklch(33.92% 0.107 265.1)
XYZxyz(4.4762, 3.7399, 15.2348)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C336E #6E571C
analogous
#1C5C6E #1C336E #2E1C6E
triadic
#1C336E #6E1C33 #336E1C
tetradic
#1C336E #6E1C5C #6E571C #1C6E2E
square
#1C336E #6E1C5C #6E571C #1C6E2E
split-complementary
#1C336E #6E2E1C #5C6E1C
monochromatic
#060B18 #101C3D #1C336E #284A9F #3862CC

Accessibility & contrast

On white

12.01
#1C336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1C336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C336E
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C336E#FFFFFF#000000##FFFFFF
##1C336E1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3A70
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c336e;
/* rgb */ color: rgb(28, 51, 110);
/* oklch */ color: oklch(33.9% 0.107 265.1);
Tailwind
colors: {
  custom: {
    50: '#646a98',
    500: '#1c336e',
    950: '#000000',
  },
}
SCSS
$custom: #1c336e;
$custom-light: #646a98;
$custom-dark: #000000;
JSON
{
  "hex": "#1c336e",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 223.171,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33915,
    "c": 0.10655,
    "h": 265.1
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

primary
#1C336E
secondary
#A38843
accent
#B645E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1C336E

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

Preview Lab → · Contrast checker → · Palette generator →

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