#1C307D#1C307D

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

Color values

HEX#1C307D
RGBrgb(28, 48, 125)
HSLhsl(228, 63%, 30%)
HSVhsv(228, 78%, 49%)
CMYKcmyk(77.6%, 61.6%, 0%, 51%)
CIE-LABlab(23.14, 21.55, -45.95)
CIE-LCHlch(23.14, 50.75, 295.13°)
OKLaboklab(34.56% -0.0055 -0.1327)
OKLCHoklch(34.56% 0.133 267.6)
XYZxyz(5.2362, 3.8409, 19.8635)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C307D #7D691C
analogous
#1C607D #1C307D #391C7D
triadic
#1C307D #7D1C30 #307D1C
tetradic
#1C307D #7D1C60 #7D691C #1C7D39
square
#1C307D #7D1C60 #7D691C #1C7D39
split-complementary
#1C307D #7D391C #607D1C
monochromatic
#060A19 #111D4B #1C307D #2743AF #3F5ED4

Accessibility & contrast

On white

11.88
#1C307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C307D
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C307D#FFFFFF#000000##FFFFFF
##1C307D1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c307d;
/* rgb */ color: rgb(28, 48, 125);
/* oklch */ color: oklch(34.6% 0.133 267.6);
Tailwind
colors: {
  custom: {
    50: '#6868a3',
    500: '#1c307d',
    950: '#000000',
  },
}
SCSS
$custom: #1c307d;
$custom-light: #6868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c307d",
  "rgb": {
    "r": 28,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 227.629,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.34559,
    "c": 0.1328,
    "h": 267.6
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#1C307D
secondary
#B19A44
accent
#C441E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C307D

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

Preview Lab → · Contrast checker → · Palette generator →

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