#1C248E#1C248E

#1C248E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.170 H 270.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1C248E
RGBrgb(28, 36, 142)
HSLhsl(236, 67%, 33%)
HSVhsv(236, 80%, 56%)
CMYKcmyk(80.3%, 74.6%, 0%, 44.3%)
CIE-LABlab(21.80, 36.04, -58.80)
CIE-LCHlch(21.80, 68.97, 301.50°)
OKLaboklab(34.09% 0.0003 -0.1703)
OKLCHoklch(34.09% 0.17 270.1)
XYZxyz(5.9906, 3.4609, 25.9382)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C248E #8E861C
analogous
#1C5D8E #1C248E #4D1C8E
triadic
#1C248E #8E1C24 #248E1C
tetradic
#1C248E #8E1C5D #8E861C #1C8E4D
square
#1C248E #8E1C5D #8E861C #1C8E4D
split-complementary
#1C248E #8E4D1C #5D8E1C
monochromatic
#080A28 #12175B #1C248E #2631C1 #4953DB

Accessibility & contrast

On white

12.41
#1C248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C248E
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C248E#FFFFFF#000000##FFFFFF
##1C248E1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c248e;
/* rgb */ color: rgb(28, 36, 142);
/* oklch */ color: oklch(34.1% 0.170 270.1);
Tailwind
colors: {
  custom: {
    50: '#6e60b0',
    500: '#1c248e',
    950: '#000000',
  },
}
SCSS
$custom: #1c248e;
$custom-light: #6e60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c248e",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 235.789,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3409,
    "c": 0.17032,
    "h": 270.1
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#1C248E
secondary
#BDB549
accent
#DE3EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C248E

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

Preview Lab → · Contrast checker → · Palette generator →

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