#1C247C#1C247C

#1C247C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.146 H 271.0°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#1C247C
RGBrgb(28, 36, 124)
HSLhsl(235, 63%, 30%)
HSVhsv(235, 77%, 49%)
CMYKcmyk(77.4%, 71%, 0%, 51.4%)
CIE-LABlab(19.90, 29.40, -50.62)
CIE-LCHlch(19.90, 58.54, 300.15°)
OKLaboklab(32.15% 0.0026 -0.1465)
OKLCHoklch(32.15% 0.147 271)
XYZxyz(4.7466, 2.9634, 19.3867)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C247C #7C741C
analogous
#1C547C #1C247C #441C7C
triadic
#1C247C #7C1C24 #247C1C
tetradic
#1C247C #7C1C54 #7C741C #1C7C44
square
#1C247C #7C1C54 #7C741C #1C7C44
split-complementary
#1C247C #7C441C #547C1C
monochromatic
#060719 #11164A #1C247C #2732AE #3F4BD4

Accessibility & contrast

On white

13.18
#1C247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1C247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C247C
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C247C#FFFFFF#000000##FFFFFF
##1C247C1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c247c;
/* rgb */ color: rgb(28, 36, 124);
/* oklch */ color: oklch(32.1% 0.146 271.0);
Tailwind
colors: {
  custom: {
    50: '#695fa3',
    500: '#1c247c',
    950: '#000000',
  },
}
SCSS
$custom: #1c247c;
$custom-light: #695fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c247c",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 235,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32147,
    "c": 0.1465,
    "h": 271
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#1C247C
secondary
#B0A744
accent
#D842E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C247C

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

Preview Lab → · Contrast checker → · Palette generator →

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