#1C2279#1C2279

#1C2279 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.145 H 271.7°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#1C2279
RGBrgb(28, 34, 121)
HSLhsl(236, 62%, 29%)
HSVhsv(236, 77%, 47%)
CMYKcmyk(76.9%, 71.9%, 0%, 52.5%)
CIE-LABlab(19.10, 29.59, -50.02)
CIE-LCHlch(19.10, 58.12, 300.61°)
OKLaboklab(31.48% 0.0042 -0.1447)
OKLCHoklch(31.48% 0.145 271.7)
XYZxyz(4.5009, 2.7709, 18.3831)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2279 #79731C
analogous
#1C5179 #1C2279 #451C79
triadic
#1C2279 #791C22 #22791C
tetradic
#1C2279 #791C51 #79731C #1C7945
square
#1C2279 #791C51 #79731C #1C7945
split-complementary
#1C2279 #79451C #51791C
monochromatic
#060719 #101447 #1C2279 #2830AB #3D47D2

Accessibility & contrast

On white

13.51
#1C2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1C2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2279
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2279#FFFFFF#000000##FFFFFF
##1C22791.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c2279;
/* rgb */ color: rgb(28, 34, 121);
/* oklch */ color: oklch(31.5% 0.145 271.7);
Tailwind
colors: {
  custom: {
    50: '#685da1',
    500: '#1c2279',
    950: '#000000',
  },
}
SCSS
$custom: #1c2279;
$custom-light: #685da1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2279",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 236.129,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31479,
    "c": 0.14477,
    "h": 271.7
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#1C2279
secondary
#ADA644
accent
#DB42E5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C2279

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

Preview Lab → · Contrast checker → · Palette generator →

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