#1C248C#1C248C

#1C248C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.168 H 270.2°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#1C248C
RGBrgb(28, 36, 140)
HSLhsl(236, 67%, 33%)
HSVhsv(236, 80%, 55%)
CMYKcmyk(80%, 74.3%, 0%, 45.1%)
CIE-LABlab(21.58, 35.32, -57.92)
CIE-LCHlch(21.58, 67.84, 301.37°)
OKLaboklab(33.87% 0.0006 -0.1677)
OKLCHoklch(33.87% 0.168 270.2)
XYZxyz(5.8418, 3.4014, 25.1545)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C248C #8C841C
analogous
#1C5C8C #1C248C #4C1C8C
triadic
#1C248C #8C1C24 #248C1C
tetradic
#1C248C #8C1C5C #8C841C #1C8C4C
square
#1C248C #8C1C5C #8C841C #1C8C4C
split-complementary
#1C248C #8C4C1C #5C8C1C
monochromatic
#080A26 #121759 #1C248C #2631BF #4852DA

Accessibility & contrast

On white

12.50
#1C248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1C248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C248C
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C248C#FFFFFF#000000##FFFFFF
##1C248C1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#002E8A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c248c;
/* rgb */ color: rgb(28, 36, 140);
/* oklch */ color: oklch(33.9% 0.168 270.2);
Tailwind
colors: {
  custom: {
    50: '#6d5faf',
    500: '#1c248c',
    950: '#000000',
  },
}
SCSS
$custom: #1c248c;
$custom-light: #6d5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1c248c",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 235.714,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33869,
    "c": 0.16774,
    "h": 270.2
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#1C248C
secondary
#BCB448
accent
#DD3EEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C248C

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

Preview Lab → · Contrast checker → · Palette generator →

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