#1C307C#1C307C

#1C307C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.131 H 267.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#1C307C
RGBrgb(28, 48, 124)
HSLhsl(228, 63%, 30%)
HSVhsv(228, 77%, 49%)
CMYKcmyk(77.4%, 61.3%, 0%, 51.4%)
CIE-LABlab(23.05, 21.15, -45.46)
CIE-LCHlch(23.05, 50.14, 294.95°)
OKLaboklab(34.47% -0.0055 -0.1312)
OKLCHoklch(34.47% 0.131 267.6)
XYZxyz(5.1727, 3.8155, 19.5287)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C307C #7C681C
analogous
#1C607C #1C307C #381C7C
triadic
#1C307C #7C1C30 #307C1C
tetradic
#1C307C #7C1C60 #7C681C #1C7C38
square
#1C307C #7C1C60 #7C681C #1C7C38
split-complementary
#1C307C #7C381C #607C1C
monochromatic
#060A19 #111D4A #1C307C #2743AE #3F5ED4

Accessibility & contrast

On white

11.91
#1C307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1C307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C307C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C307C#FFFFFF#000000##FFFFFF
##1C307C1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c307c;
/* rgb */ color: rgb(28, 48, 124);
/* oklch */ color: oklch(34.5% 0.131 267.6);
Tailwind
colors: {
  custom: {
    50: '#6868a3',
    500: '#1c307c',
    950: '#000000',
  },
}
SCSS
$custom: #1c307c;
$custom-light: #6868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c307c",
  "rgb": {
    "r": 28,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 227.5,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34468,
    "c": 0.13136,
    "h": 267.6
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#1C307C
secondary
#B09944
accent
#C442E6
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C307C

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

Preview Lab → · Contrast checker → · Palette generator →

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