#1C247F#1C247F

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

Color values

HEX#1C247F
RGBrgb(28, 36, 127)
HSLhsl(235, 64%, 30%)
HSVhsv(235, 78%, 50%)
CMYKcmyk(78%, 71.7%, 0%, 50.2%)
CIE-LABlab(20.20, 30.53, -52.02)
CIE-LCHlch(20.20, 60.32, 300.41°)
OKLaboklab(32.46% 0.0023 -0.1506)
OKLCHoklch(32.46% 0.151 270.9)
XYZxyz(4.9392, 3.0404, 20.4011)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C247F #7F771C
analogous
#1C557F #1C247F #461C7F
triadic
#1C247F #7F1C24 #247F1C
tetradic
#1C247F #7F1C55 #7F771C #1C7F46
square
#1C247F #7F1C55 #7F771C #1C7F46
split-complementary
#1C247F #7F461C #557F1C
monochromatic
#06081B #11164D #1C247F #2732B1 #404CD5

Accessibility & contrast

On white

13.06
#1C247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1C247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C247F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C247F#FFFFFF#000000##FFFFFF
##1C247F1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c247f;
/* rgb */ color: rgb(28, 36, 127);
/* oklch */ color: oklch(32.5% 0.151 270.9);
Tailwind
colors: {
  custom: {
    50: '#6a5fa5',
    500: '#1c247f',
    950: '#000000',
  },
}
SCSS
$custom: #1c247f;
$custom-light: #6a5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c247f",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 235.152,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32464,
    "c": 0.15058,
    "h": 270.9
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C247F

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

Preview Lab → · Contrast checker → · Palette generator →

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