#1C247A#1C247A

#1C247A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.144 H 271.1°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#1C247A
RGBrgb(28, 36, 122)
HSLhsl(235, 63%, 29%)
HSVhsv(235, 77%, 48%)
CMYKcmyk(77%, 70.5%, 0%, 52.2%)
CIE-LABlab(19.69, 28.64, -49.68)
CIE-LCHlch(19.69, 57.35, 299.96°)
OKLaboklab(31.94% 0.0029 -0.1437)
OKLCHoklch(31.94% 0.144 271.1)
XYZxyz(4.6214, 2.9133, 18.7273)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C247A #7A721C
analogous
#1C537A #1C247A #431C7A
triadic
#1C247A #7A1C24 #247A1C
tetradic
#1C247A #7A1C53 #7A721C #1C7A43
square
#1C247A #7A1C53 #7A721C #1C7A43
split-complementary
#1C247A #7A431C #537A1C
monochromatic
#060719 #111548 #1C247A #2733AC #3E4AD3

Accessibility & contrast

On white

13.27
#1C247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1C247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C247A
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C247A#FFFFFF#000000##FFFFFF
##1C247A1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c247a;
/* rgb */ color: rgb(28, 36, 122);
/* oklch */ color: oklch(31.9% 0.144 271.1);
Tailwind
colors: {
  custom: {
    50: '#685fa1',
    500: '#1c247a',
    950: '#000000',
  },
}
SCSS
$custom: #1c247a;
$custom-light: #685fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c247a",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 234.894,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31938,
    "c": 0.14376,
    "h": 271.1
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#1C247A
secondary
#AEA544
accent
#D842E6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C247A

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

Preview Lab → · Contrast checker → · Palette generator →

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