#1C308D#1C308D

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

Color values

HEX#1C308D
RGBrgb(28, 48, 141)
HSLhsl(229, 67%, 33%)
HSVhsv(229, 80%, 55%)
CMYKcmyk(80.1%, 66%, 0%, 44.7%)
CIE-LABlab(24.59, 27.86, -53.60)
CIE-LCHlch(24.59, 60.41, 297.46°)
OKLaboklab(36.08% -0.0057 -0.1551)
OKLCHoklch(36.08% 0.155 267.9)
XYZxyz(6.3419, 4.2831, 25.6866)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C308D #8D791C
analogous
#1C688D #1C308D #411C8D
triadic
#1C308D #8D1C30 #308D1C
tetradic
#1C308D #8D1C68 #8D791C #1C8D41
square
#1C308D #8D1C68 #8D791C #1C8D41
split-complementary
#1C308D #8D411C #688D1C
monochromatic
#080D27 #121F5A #1C308D #2641C0 #4962DB

Accessibility & contrast

On white

11.31
#1C308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1C308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C308D
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C308D#FFFFFF#000000##FFFFFF
##1C308D1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c308d;
/* rgb */ color: rgb(28, 48, 141);
/* oklch */ color: oklch(36.1% 0.155 267.9);
Tailwind
colors: {
  custom: {
    50: '#6c68af',
    500: '#1c308d',
    950: '#000000',
  },
}
SCSS
$custom: #1c308d;
$custom-light: #6c68af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c308d",
  "rgb": {
    "r": 28,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 229.381,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36078,
    "c": 0.15523,
    "h": 267.9
  },
  "luminance": 0.04284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C308D

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

Preview Lab → · Contrast checker → · Palette generator →

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