#1C307E#1C307E

#1C307E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.134 H 267.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#1C307E
RGBrgb(28, 48, 126)
HSLhsl(228, 64%, 30%)
HSVhsv(228, 78%, 49%)
CMYKcmyk(77.8%, 61.9%, 0%, 50.6%)
CIE-LABlab(23.23, 21.95, -46.44)
CIE-LCHlch(23.23, 51.37, 295.30°)
OKLaboklab(34.65% -0.0055 -0.1341)
OKLCHoklch(34.65% 0.134 267.7)
XYZxyz(5.3004, 3.8666, 20.2016)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C307E #7E6A1C
analogous
#1C617E #1C307E #391C7E
triadic
#1C307E #7E1C30 #307E1C
tetradic
#1C307E #7E1C61 #7E6A1C #1C7E39
square
#1C307E #7E1C61 #7E6A1C #1C7E39
split-complementary
#1C307E #7E391C #617E1C
monochromatic
#060A1A #111D4C #1C307E #2743B0 #405ED5

Accessibility & contrast

On white

11.84
#1C307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1C307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C307E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C307E#FFFFFF#000000##FFFFFF
##1C307E1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c307e;
/* rgb */ color: rgb(28, 48, 126);
/* oklch */ color: oklch(34.7% 0.134 267.7);
Tailwind
colors: {
  custom: {
    50: '#6868a4',
    500: '#1c307e',
    950: '#000000',
  },
}
SCSS
$custom: #1c307e;
$custom-light: #6868a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c307e",
  "rgb": {
    "r": 28,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 227.755,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34651,
    "c": 0.13424,
    "h": 267.7
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#1C307E
secondary
#B29B44
accent
#C541E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C307E

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

Preview Lab → · Contrast checker → · Palette generator →

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