#1C247D#1C247D

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

Color values

HEX#1C247D
RGBrgb(28, 36, 125)
HSLhsl(235, 63%, 30%)
HSVhsv(235, 78%, 49%)
CMYKcmyk(77.6%, 71.2%, 0%, 51%)
CIE-LABlab(20.00, 29.78, -51.09)
CIE-LCHlch(20.00, 59.14, 300.24°)
OKLaboklab(32.25% 0.0025 -0.1478)
OKLCHoklch(32.25% 0.148 271)
XYZxyz(4.8102, 2.9888, 19.7214)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C247D #7D751C
analogous
#1C547D #1C247D #451C7D
triadic
#1C247D #7D1C24 #247D1C
tetradic
#1C247D #7D1C54 #7D751C #1C7D45
square
#1C247D #7D1C54 #7D751C #1C7D45
split-complementary
#1C247D #7D451C #547D1C
monochromatic
#060719 #11164B #1C247D #2732AF #3F4CD4

Accessibility & contrast

On white

13.14
#1C247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C247D
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C247D#FFFFFF#000000##FFFFFF
##1C247D1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c247d;
/* rgb */ color: rgb(28, 36, 125);
/* oklch */ color: oklch(32.3% 0.148 271.0);
Tailwind
colors: {
  custom: {
    50: '#695fa4',
    500: '#1c247d',
    950: '#000000',
  },
}
SCSS
$custom: #1c247d;
$custom-light: #695fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c247d",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 235.052,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.32252,
    "c": 0.14786,
    "h": 271
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#1C247D
secondary
#B1A844
accent
#D941E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C247D

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

Preview Lab → · Contrast checker → · Palette generator →

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