#1C288B#1C288B

#1C288B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.162 H 269.6°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1C288B
RGBrgb(28, 40, 139)
HSLhsl(234, 66%, 33%)
HSVhsv(234, 80%, 55%)
CMYKcmyk(79.9%, 71.2%, 0%, 45.5%)
CIE-LABlab(22.40, 32.41, -55.95)
CIE-LCHlch(22.40, 64.66, 300.08°)
OKLaboklab(34.42% -0.0012 -0.162)
OKLCHoklch(34.42% 0.162 269.6)
XYZxyz(5.8963, 3.6279, 24.8106)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C288B #8B7F1C
analogous
#1C5F8B #1C288B #481C8B
triadic
#1C288B #8B1C28 #288B1C
tetradic
#1C288B #8B1C5F #8B7F1C #1C8B48
square
#1C288B #8B1C5F #8B7F1C #1C8B48
split-complementary
#1C288B #8B481C #5F8B1C
monochromatic
#070B25 #121958 #1C288B #2637BE #4757DA

Accessibility & contrast

On white

12.17
#1C288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1C288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C288B
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C288B#FFFFFF#000000##FFFFFF
##1C288B1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c288b;
/* rgb */ color: rgb(28, 40, 139);
/* oklch */ color: oklch(34.4% 0.162 269.6);
Tailwind
colors: {
  custom: {
    50: '#6d62ae',
    500: '#1c288b',
    950: '#000000',
  },
}
SCSS
$custom: #1c288b;
$custom-light: #6d62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c288b",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 233.514,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34425,
    "c": 0.16201,
    "h": 269.6
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#1C288B
secondary
#BCAF47
accent
#D73EE9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C288B

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

Preview Lab → · Contrast checker → · Palette generator →

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