#1C248D#1C248D

#1C248D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.169 H 270.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1C248D
RGBrgb(28, 36, 141)
HSLhsl(236, 67%, 33%)
HSVhsv(236, 80%, 55%)
CMYKcmyk(80.1%, 74.5%, 0%, 44.7%)
CIE-LABlab(21.69, 35.68, -58.36)
CIE-LCHlch(21.69, 68.40, 301.44°)
OKLaboklab(33.98% 0.0004 -0.169)
OKLCHoklch(33.98% 0.169 270.1)
XYZxyz(5.9158, 3.4311, 25.5446)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C248D #8D851C
analogous
#1C5C8D #1C248D #4C1C8D
triadic
#1C248D #8D1C24 #248D1C
tetradic
#1C248D #8D1C5C #8D851C #1C8D4C
square
#1C248D #8D1C5C #8D851C #1C8D4C
split-complementary
#1C248D #8D4C1C #5C8D1C
monochromatic
#080A27 #12175A #1C248D #2631C0 #4953DB

Accessibility & contrast

On white

12.45
#1C248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1C248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C248D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C248D#FFFFFF#000000##FFFFFF
##1C248D1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c248d;
/* rgb */ color: rgb(28, 36, 141);
/* oklch */ color: oklch(34.0% 0.169 270.1);
Tailwind
colors: {
  custom: {
    50: '#6e5faf',
    500: '#1c248d',
    950: '#000000',
  },
}
SCSS
$custom: #1c248d;
$custom-light: #6e5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1c248d",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 235.752,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3398,
    "c": 0.16903,
    "h": 270.1
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#1C248D
secondary
#BDB448
accent
#DE3EEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C248D

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

Preview Lab → · Contrast checker → · Palette generator →

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