#1C3281#1C3281

#1C3281 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.136 H 267.1°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#1C3281
RGBrgb(28, 50, 129)
HSLhsl(227, 64%, 31%)
HSVhsv(227, 78%, 51%)
CMYKcmyk(78.3%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.04, 21.75, -47.00)
CIE-LCHlch(24.04, 51.79, 294.83°)
OKLaboklab(35.34% -0.0069 -0.1357)
OKLCHoklch(35.34% 0.136 267.1)
XYZxyz(5.5806, 4.1124, 21.2643)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3281 #816B1C
analogous
#1C6481 #1C3281 #391C81
triadic
#1C3281 #811C32 #32811C
tetradic
#1C3281 #811C64 #816B1C #1C8139
square
#1C3281 #811C64 #816B1C #1C8139
split-complementary
#1C3281 #81391C #64811C
monochromatic
#060B1C #111F4F #1C3281 #2745B3 #4262D6

Accessibility & contrast

On white

11.52
#1C3281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1C3281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3281
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3281#FFFFFF#000000##FFFFFF
##1C32811.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c3281;
/* rgb */ color: rgb(28, 50, 129);
/* oklch */ color: oklch(35.3% 0.136 267.1);
Tailwind
colors: {
  custom: {
    50: '#6969a6',
    500: '#1c3281',
    950: '#000000',
  },
}
SCSS
$custom: #1c3281;
$custom-light: #6969a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3281",
  "rgb": {
    "r": 28,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 226.931,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35339,
    "c": 0.13593,
    "h": 267.1
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#1C3281
secondary
#B49C44
accent
#C340E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C3281

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

Preview Lab → · Contrast checker → · Palette generator →

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