#1C279D#1C279D

#1C279D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.186 H 269.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#1C279D
RGBrgb(28, 39, 157)
HSLhsl(235, 70%, 36%)
HSVhsv(235, 82%, 62%)
CMYKcmyk(82.2%, 75.2%, 0%, 38.4%)
CIE-LABlab(24.10, 39.57, -64.25)
CIE-LCHlch(24.10, 75.46, 301.63°)
OKLaboklab(36.22% -0.0031 -0.1862)
OKLCHoklch(36.22% 0.186 269.1)
XYZxyz(7.2881, 4.1314, 32.3051)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C279D #9D921C
analogous
#1C689D #1C279D #521C9D
triadic
#1C279D #9D1C27 #279D1C
tetradic
#1C279D #9D1C68 #9D921C #1C9D52
square
#1C279D #9D1C68 #9D921C #1C9D52
split-complementary
#1C279D #9D521C #689D1C
monochromatic
#090D35 #131A69 #1C279D #2534D1 #535FE0

Accessibility & contrast

On white

11.50
#1C279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1C279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C279D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C279D#FFFFFF#000000##FFFFFF
##1C279D1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c279d;
/* rgb */ color: rgb(28, 39, 157);
/* oklch */ color: oklch(36.2% 0.186 269.1);
Tailwind
colors: {
  custom: {
    50: '#7262bb',
    500: '#1c279d',
    950: '#000000',
  },
}
SCSS
$custom: #1c279d;
$custom-light: #7262bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c279d",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 234.884,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36219,
    "c": 0.1862,
    "h": 269.1
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#1C279D
secondary
#C3BA51
accent
#DD3BED
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1C279D

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

Preview Lab → · Contrast checker → · Palette generator →

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