#1C336A#1C336A

#1C336A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.100 H 264.5°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1C336A
RGBrgb(28, 51, 106)
HSLhsl(222, 58%, 26%)
HSVhsv(222, 74%, 42%)
CMYKcmyk(73.6%, 51.9%, 0%, 58.4%)
CIE-LABlab(22.50, 11.72, -34.85)
CIE-LCHlch(22.50, 36.77, 288.60°)
OKLaboklab(33.6% -0.0096 -0.1)
OKLCHoklch(33.6% 0.1 264.5)
XYZxyz(4.2633, 3.6547, 14.1136)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C336A #6A531C
analogous
#1C5A6A #1C336A #2C1C6A
triadic
#1C336A #6A1C33 #336A1C
tetradic
#1C336A #6A1C5A #6A531C #1C6A2C
square
#1C336A #6A1C5A #6A531C #1C6A2C
split-complementary
#1C336A #6A2C1C #5A6A1C
monochromatic
#060C18 #0F1C3A #1C336A #294A9A #3662CA

Accessibility & contrast

On white

12.13
#1C336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1C336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C336A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C336A#FFFFFF#000000##FFFFFF
##1C336A1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c336a;
/* rgb */ color: rgb(28, 51, 106);
/* oklch */ color: oklch(33.6% 0.100 264.5);
Tailwind
colors: {
  custom: {
    50: '#636a95',
    500: '#1c336a',
    950: '#000000',
  },
}
SCSS
$custom: #1c336a;
$custom-light: #636a95;
$custom-dark: #000000;
JSON
{
  "hex": "#1c336a",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 222.308,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33595,
    "c": 0.10044,
    "h": 264.5
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#1C336A
secondary
#9F8443
accent
#B446E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1C336A

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

Preview Lab → · Contrast checker → · Palette generator →

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