#1C276E#1C276E

#1C276E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.123 H 270.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#1C276E
RGBrgb(28, 39, 110)
HSLhsl(232, 59%, 27%)
HSVhsv(232, 75%, 43%)
CMYKcmyk(74.5%, 64.5%, 0%, 56.9%)
CIE-LABlab(19.32, 21.93, -42.58)
CIE-LCHlch(19.32, 47.90, 297.25°)
OKLaboklab(31.31% 0.0015 -0.1229)
OKLCHoklch(31.31% 0.123 270.7)
XYZxyz(4.0179, 2.8233, 15.0820)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C276E #6E631C
analogous
#1C506E #1C276E #3A1C6E
triadic
#1C276E #6E1C27 #276E1C
tetradic
#1C276E #6E1C50 #6E631C #1C6E3A
square
#1C276E #6E1C50 #6E631C #1C6E3A
split-complementary
#1C276E #6E3A1C #506E1C
monochromatic
#060918 #10163D #1C276E #28389F #384CCC

Accessibility & contrast

On white

13.42
#1C276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1C276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C276E
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C276E#FFFFFF#000000##FFFFFF
##1C276E1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c276e;
/* rgb */ color: rgb(28, 39, 110);
/* oklch */ color: oklch(31.3% 0.123 270.7);
Tailwind
colors: {
  custom: {
    50: '#656198',
    500: '#1c276e',
    950: '#000000',
  },
}
SCSS
$custom: #1c276e;
$custom-light: #656198;
$custom-dark: #000000;
JSON
{
  "hex": "#1c276e",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 231.951,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31312,
    "c": 0.12292,
    "h": 270.7
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#1C276E
secondary
#A39643
accent
#CD45E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1C276E

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

Preview Lab → · Contrast checker → · Palette generator →

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