#1C247E#1C247E

#1C247E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.149 H 270.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1C247E
RGBrgb(28, 36, 126)
HSLhsl(235, 64%, 30%)
HSVhsv(235, 78%, 49%)
CMYKcmyk(77.8%, 71.4%, 0%, 50.6%)
CIE-LABlab(20.10, 30.15, -51.56)
CIE-LCHlch(20.10, 59.73, 300.32°)
OKLaboklab(32.36% 0.0024 -0.1492)
OKLCHoklch(32.36% 0.149 270.9)
XYZxyz(4.8744, 3.0145, 20.0596)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C247E #7E761C
analogous
#1C557E #1C247E #451C7E
triadic
#1C247E #7E1C24 #247E1C
tetradic
#1C247E #7E1C55 #7E761C #1C7E45
square
#1C247E #7E1C55 #7E761C #1C7E45
split-complementary
#1C247E #7E451C #557E1C
monochromatic
#06071A #11164C #1C247E #2732B0 #404CD5

Accessibility & contrast

On white

13.10
#1C247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1C247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C247E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C247E#FFFFFF#000000##FFFFFF
##1C247E1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c247e;
/* rgb */ color: rgb(28, 36, 126);
/* oklch */ color: oklch(32.4% 0.149 270.9);
Tailwind
colors: {
  custom: {
    50: '#6a5fa4',
    500: '#1c247e',
    950: '#000000',
  },
}
SCSS
$custom: #1c247e;
$custom-light: #6a5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c247e",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 235.102,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32358,
    "c": 0.14922,
    "h": 270.9
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#1C247E
secondary
#B2A944
accent
#D941E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C247E

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

Preview Lab → · Contrast checker → · Palette generator →

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