#2C4495#2C4495

#2C4495 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.136 H 267.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2C4495
RGBrgb(44, 68, 149)
HSLhsl(226, 54%, 38%)
HSVhsv(226, 70%, 58%)
CMYKcmyk(70.5%, 54.4%, 0%, 41.6%)
CIE-LABlab(31.44, 19.38, -47.33)
CIE-LCHlch(31.44, 51.14, 292.26°)
OKLaboklab(41.61% -0.0056 -0.1361)
OKLCHoklch(41.61% 0.136 267.7)
XYZxyz(8.5288, 6.8388, 29.2985)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4495 #957D2C
analogous
#2C7895 #2C4495 #492C95
triadic
#2C4495 #952C44 #44952C
tetradic
#2C4495 #952C78 #957D2C #2C9549
square
#2C4495 #952C78 #957D2C #2C9549
split-complementary
#2C4495 #95492C #78952C
monochromatic
#101937 #1E2E66 #2C4495 #3A5AC4 #6981D3

Accessibility & contrast

On white

8.87
#2C4495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C4495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4495
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4495#FFFFFF#000000##FFFFFF
##2C44951.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4F98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4495;
/* rgb */ color: rgb(44, 68, 149);
/* oklch */ color: oklch(41.6% 0.136 267.7);
Tailwind
colors: {
  custom: {
    50: '#7377b5',
    500: '#2c4495',
    950: '#000000',
  },
}
SCSS
$custom: #2c4495;
$custom-light: #7377b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4495",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 226.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41608,
    "c": 0.13621,
    "h": 267.7
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#2C4495
secondary
#B9A664
accent
#BC4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4495

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

Preview Lab → · Contrast checker → · Palette generator →

#2C4495 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva