#1C276D#1C276D

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

Color values

HEX#1C276D
RGBrgb(28, 39, 109)
HSLhsl(232, 59%, 27%)
HSVhsv(232, 74%, 43%)
CMYKcmyk(74.3%, 64.2%, 0%, 57.3%)
CIE-LABlab(19.23, 21.53, -42.08)
CIE-LCHlch(19.23, 47.27, 297.10°)
OKLaboklab(31.22% 0.0016 -0.1214)
OKLCHoklch(31.22% 0.121 270.7)
XYZxyz(3.9638, 2.8016, 14.7969)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C276D #6D621C
analogous
#1C506D #1C276D #3A1C6D
triadic
#1C276D #6D1C27 #276D1C
tetradic
#1C276D #6D1C50 #6D621C #1C6D3A
square
#1C276D #6D1C50 #6D621C #1C6D3A
split-complementary
#1C276D #6D3A1C #506D1C
monochromatic
#060918 #0F163C #1C276D #29389E #384CCC

Accessibility & contrast

On white

13.46
#1C276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C276D
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C276D#FFFFFF#000000##FFFFFF
##1C276D1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c276d;
/* rgb */ color: rgb(28, 39, 109);
/* oklch */ color: oklch(31.2% 0.121 270.7);
Tailwind
colors: {
  custom: {
    50: '#656198',
    500: '#1c276d',
    950: '#000000',
  },
}
SCSS
$custom: #1c276d;
$custom-light: #656198;
$custom-dark: #000000;
JSON
{
  "hex": "#1c276d",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 231.852,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31217,
    "c": 0.12146,
    "h": 270.7
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#1C276D
secondary
#A29543
accent
#CD45E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1C276D

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

Preview Lab → · Contrast checker → · Palette generator →

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