#1C248B#1C248B

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

Color values

HEX#1C248B
RGBrgb(28, 36, 139)
HSLhsl(236, 66%, 33%)
HSVhsv(236, 80%, 55%)
CMYKcmyk(79.9%, 74.1%, 0%, 45.5%)
CIE-LABlab(21.48, 34.95, -57.47)
CIE-LCHlch(21.48, 67.27, 301.31°)
OKLaboklab(33.76% 0.0007 -0.1664)
OKLCHoklch(33.76% 0.166 270.2)
XYZxyz(5.7684, 3.3721, 24.7680)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C248B #8B831C
analogous
#1C5B8B #1C248B #4C1C8B
triadic
#1C248B #8B1C24 #248B1C
tetradic
#1C248B #8B1C5B #8B831C #1C8B4C
square
#1C248B #8B1C5B #8B831C #1C8B4C
split-complementary
#1C248B #8B4C1C #5B8B1C
monochromatic
#070A25 #121758 #1C248B #2631BE #4752DA

Accessibility & contrast

On white

12.54
#1C248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1C248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C248B
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C248B#FFFFFF#000000##FFFFFF
##1C248B1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#002E89
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c248b;
/* rgb */ color: rgb(28, 36, 139);
/* oklch */ color: oklch(33.8% 0.166 270.2);
Tailwind
colors: {
  custom: {
    50: '#6d5fae',
    500: '#1c248b',
    950: '#000000',
  },
}
SCSS
$custom: #1c248b;
$custom-light: #6d5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c248b",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 235.676,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33759,
    "c": 0.16644,
    "h": 270.2
  },
  "luminance": 0.03373
}

Semantic roles & 50–950 ramp

primary
#1C248B
secondary
#BCB347
accent
#DD3EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C248B

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

Preview Lab → · Contrast checker → · Palette generator →

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