#1C308C#1C308C

#1C308C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.154 H 267.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#1C308C
RGBrgb(28, 48, 140)
HSLhsl(229, 67%, 33%)
HSVhsv(229, 80%, 55%)
CMYKcmyk(80%, 65.7%, 0%, 45.1%)
CIE-LABlab(24.49, 27.47, -53.14)
CIE-LCHlch(24.49, 59.82, 297.34°)
OKLaboklab(35.98% -0.0057 -0.1537)
OKLCHoklch(35.98% 0.154 267.9)
XYZxyz(6.2678, 4.2535, 25.2965)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C308C #8C781C
analogous
#1C688C #1C308C #401C8C
triadic
#1C308C #8C1C30 #308C1C
tetradic
#1C308C #8C1C68 #8C781C #1C8C40
square
#1C308C #8C1C68 #8C781C #1C8C40
split-complementary
#1C308C #8C401C #688C1C
monochromatic
#080D26 #121F59 #1C308C #2641BF #4862DA

Accessibility & contrast

On white

11.35
#1C308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1C308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C308C
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C308C#FFFFFF#000000##FFFFFF
##1C308C1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c308c;
/* rgb */ color: rgb(28, 48, 140);
/* oklch */ color: oklch(36.0% 0.154 267.9);
Tailwind
colors: {
  custom: {
    50: '#6c68ae',
    500: '#1c308c',
    950: '#000000',
  },
}
SCSS
$custom: #1c308c;
$custom-light: #6c68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c308c",
  "rgb": {
    "r": 28,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 229.286,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35981,
    "c": 0.15385,
    "h": 267.9
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#1C308C
secondary
#BCA748
accent
#CB3EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1C308C

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

Preview Lab → · Contrast checker → · Palette generator →

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