#1C388C#1C388C

#1C388C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.144 H 265.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#1C388C
RGBrgb(28, 56, 140)
HSLhsl(225, 67%, 33%)
HSVhsv(225, 80%, 55%)
CMYKcmyk(80%, 60%, 0%, 45.1%)
CIE-LABlab(26.64, 21.97, -49.62)
CIE-LCHlch(26.64, 54.26, 293.88°)
OKLaboklab(37.58% -0.0109 -0.1433)
OKLCHoklch(37.58% 0.144 265.7)
XYZxyz(6.6250, 4.9679, 25.4156)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C388C #8C701C
analogous
#1C708C #1C388C #381C8C
triadic
#1C388C #8C1C38 #388C1C
tetradic
#1C388C #8C1C70 #8C701C #1C8C38
square
#1C388C #8C1C70 #8C701C #1C8C38
split-complementary
#1C388C #8C381C #708C1C
monochromatic
#080F26 #122459 #1C388C #264CBF #486DDA

Accessibility & contrast

On white

10.53
#1C388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1C388C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C388C
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C388C#FFFFFF#000000##FFFFFF
##1C388C1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1c388c;
/* rgb */ color: rgb(28, 56, 140);
/* oklch */ color: oklch(37.6% 0.144 265.7);
Tailwind
colors: {
  custom: {
    50: '#6b6eae',
    500: '#1c388c',
    950: '#000000',
  },
}
SCSS
$custom: #1c388c;
$custom-light: #6b6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c388c",
  "rgb": {
    "r": 28,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 225,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37577,
    "c": 0.14375,
    "h": 265.7
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#1C388C
secondary
#BC9F48
accent
#BF3EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1C388C

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

Preview Lab → · Contrast checker → · Palette generator →

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