#1C2F84#1C2F84

#1C2F84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.144 H 268.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#1C2F84
RGBrgb(28, 47, 132)
HSLhsl(229, 65%, 31%)
HSVhsv(229, 79%, 52%)
CMYKcmyk(78.8%, 64.4%, 0%, 48.2%)
CIE-LABlab(23.49, 25.03, -49.78)
CIE-LCHlch(23.49, 55.72, 296.69°)
OKLaboklab(35.01% -0.0048 -0.1439)
OKLCHoklch(35.01% 0.144 268.1)
XYZxyz(5.6588, 3.9452, 22.2886)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F84 #84711C
analogous
#1C6384 #1C2F84 #3D1C84
triadic
#1C2F84 #841C2F #2F841C
tetradic
#1C2F84 #841C63 #84711C #1C843D
square
#1C2F84 #841C63 #84711C #1C843D
split-complementary
#1C2F84 #843D1C #63841C
monochromatic
#070B1F #111D52 #1C2F84 #2741B6 #435ED7

Accessibility & contrast

On white

11.74
#1C2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1C2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F84
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F84#FFFFFF#000000##FFFFFF
##1C2F841.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c2f84;
/* rgb */ color: rgb(28, 47, 132);
/* oklch */ color: oklch(35.0% 0.144 268.1);
Tailwind
colors: {
  custom: {
    50: '#6a67a9',
    500: '#1c2f84',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f84;
$custom-light: #6a67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f84",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 229.038,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35013,
    "c": 0.14403,
    "h": 268.1
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#1C2F84
secondary
#B7A245
accent
#C940E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1C2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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