#1C276B#1C276B

#1C276B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.118 H 270.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#1C276B
RGBrgb(28, 39, 107)
HSLhsl(232, 59%, 26%)
HSVhsv(232, 74%, 42%)
CMYKcmyk(73.8%, 63.6%, 0%, 58%)
CIE-LABlab(19.05, 20.74, -41.08)
CIE-LCHlch(19.05, 46.01, 296.79°)
OKLaboklab(31.03% 0.0016 -0.1185)
OKLCHoklch(31.03% 0.119 270.8)
XYZxyz(3.8573, 2.7591, 14.2363)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C276B #6B601C
analogous
#1C4F6B #1C276B #391C6B
triadic
#1C276B #6B1C27 #276B1C
tetradic
#1C276B #6B1C4F #6B601C #1C6B39
square
#1C276B #6B1C4F #6B601C #1C6B39
split-complementary
#1C276B #6B391C #4F6B1C
monochromatic
#060918 #0F153A #1C276B #29399C #374BCB

Accessibility & contrast

On white

13.53
#1C276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C276B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C276B#FFFFFF#000000##FFFFFF
##1C276B1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002B6A
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c276b;
/* rgb */ color: rgb(28, 39, 107);
/* oklch */ color: oklch(31.0% 0.118 270.8);
Tailwind
colors: {
  custom: {
    50: '#646196',
    500: '#1c276b',
    950: '#000000',
  },
}
SCSS
$custom: #1c276b;
$custom-light: #646196;
$custom-dark: #000000;
JSON
{
  "hex": "#1c276b",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 231.646,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31028,
    "c": 0.1185,
    "h": 270.8
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#1C276B
secondary
#A09343
accent
#CC46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1C276B

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

Preview Lab → · Contrast checker → · Palette generator →

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