#1C308A#1C308A

#1C308A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.151 H 267.9°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#1C308A
RGBrgb(28, 48, 138)
HSLhsl(229, 66%, 33%)
HSVhsv(229, 80%, 54%)
CMYKcmyk(79.7%, 65.2%, 0%, 45.9%)
CIE-LABlab(24.31, 26.69, -52.20)
CIE-LCHlch(24.31, 58.62, 297.08°)
OKLaboklab(35.79% -0.0056 -0.151)
OKLCHoklch(35.79% 0.151 267.9)
XYZxyz(6.1217, 4.1951, 24.5269)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C308A #8A761C
analogous
#1C678A #1C308A #3F1C8A
triadic
#1C308A #8A1C30 #308A1C
tetradic
#1C308A #8A1C67 #8A761C #1C8A3F
square
#1C308A #8A1C67 #8A761C #1C8A3F
split-complementary
#1C308A #8A3F1C #678A1C
monochromatic
#070D24 #121E57 #1C308A #2642BD #4761DA

Accessibility & contrast

On white

11.42
#1C308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1C308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C308A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C308A#FFFFFF#000000##FFFFFF
##1C308A1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c308a;
/* rgb */ color: rgb(28, 48, 138);
/* oklch */ color: oklch(35.8% 0.151 267.9);
Tailwind
colors: {
  custom: {
    50: '#6c68ad',
    500: '#1c308a',
    950: '#000000',
  },
}
SCSS
$custom: #1c308a;
$custom-light: #6c68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c308a",
  "rgb": {
    "r": 28,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 229.091,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35786,
    "c": 0.1511,
    "h": 267.9
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#1C308A
secondary
#BBA646
accent
#CA3FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1C308A

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

Preview Lab → · Contrast checker → · Palette generator →

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