#1C2FA1#1C2FA1

#1C2FA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.183 H 267.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#1C2FA1
RGBrgb(28, 47, 161)
HSLhsl(231, 70%, 37%)
HSVhsv(231, 83%, 63%)
CMYKcmyk(82.6%, 70.8%, 0%, 36.9%)
CIE-LABlab(26.31, 36.08, -63.04)
CIE-LCHlch(26.31, 72.64, 299.78°)
OKLaboklab(37.93% -0.0066 -0.1827)
OKLCHoklch(37.93% 0.183 267.9)
XYZxyz(7.9262, 4.8522, 34.2301)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2FA1 #A18E1C
analogous
#1C71A1 #1C2FA1 #4C1CA1
triadic
#1C2FA1 #A11C2F #2FA11C
tetradic
#1C2FA1 #A11C71 #A18E1C #1CA14C
square
#1C2FA1 #A11C71 #A18E1C #1CA14C
split-complementary
#1C2FA1 #A14C1C #71A11C
monochromatic
#0A1139 #13206D #1C2FA1 #253ED5 #566AE2

Accessibility & contrast

On white

10.66
#1C2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1C2FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2FA1
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2FA1#FFFFFF#000000##FFFFFF
##1C2FA11.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1c2fa1;
/* rgb */ color: rgb(28, 47, 161);
/* oklch */ color: oklch(37.9% 0.183 267.9);
Tailwind
colors: {
  custom: {
    50: '#7268be',
    500: '#1c2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #1c2fa1;
$custom-light: #7268be;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2fa1",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 231.429,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37931,
    "c": 0.1828,
    "h": 267.9
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#1C2FA1
secondary
#C5B554
accent
#D43BED
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1C2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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