#1C248F#1C248F

#1C248F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.172 H 270.0°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1C248F
RGBrgb(28, 36, 143)
HSLhsl(236, 67%, 34%)
HSVhsv(236, 80%, 56%)
CMYKcmyk(80.4%, 74.8%, 0%, 43.9%)
CIE-LABlab(21.91, 36.40, -59.25)
CIE-LCHlch(21.91, 69.53, 301.57°)
OKLaboklab(34.2% 0.0001 -0.1716)
OKLCHoklch(34.2% 0.172 270)
XYZxyz(6.0660, 3.4911, 26.3354)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C248F #8F871C
analogous
#1C5D8F #1C248F #4D1C8F
triadic
#1C248F #8F1C24 #248F1C
tetradic
#1C248F #8F1C5D #8F871C #1C8F4D
square
#1C248F #8F1C5D #8F871C #1C8F4D
split-complementary
#1C248F #8F4D1C #5D8F1C
monochromatic
#080A29 #12175C #1C248F #2631C2 #4A54DC

Accessibility & contrast

On white

12.36
#1C248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C248F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C248F#FFFFFF#000000##FFFFFF
##1C248F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c248f;
/* rgb */ color: rgb(28, 36, 143);
/* oklch */ color: oklch(34.2% 0.172 270.0);
Tailwind
colors: {
  custom: {
    50: '#6e60b1',
    500: '#1c248f',
    950: '#000000',
  },
}
SCSS
$custom: #1c248f;
$custom-light: #6e60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c248f",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 235.826,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34201,
    "c": 0.1716,
    "h": 270
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#1C248F
secondary
#BEB549
accent
#DE3EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1C248F

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

Preview Lab → · Contrast checker → · Palette generator →

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