#2C5195#2C5195

#2C5195 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.119 H 261.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2C5195
RGBrgb(44, 81, 149)
HSLhsl(219, 54%, 38%)
HSVhsv(219, 70%, 58%)
CMYKcmyk(70.5%, 45.6%, 0%, 41.6%)
CIE-LABlab(35.18, 10.65, -41.30)
CIE-LCHlch(35.18, 42.65, 284.46°)
OKLaboklab(44.47% -0.0178 -0.1181)
OKLCHoklch(44.47% 0.119 261.4)
XYZxyz(9.4040, 8.5893, 29.5902)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5195 #95702C
analogous
#2C8595 #2C5195 #3B2C95
triadic
#2C5195 #952C51 #51952C
tetradic
#2C5195 #952C85 #95702C #2C953B
square
#2C5195 #952C85 #95702C #2C953B
split-complementary
#2C5195 #953B2C #85952C
monochromatic
#101E37 #1E3766 #2C5195 #3A6BC4 #698ED3

Accessibility & contrast

On white

7.73
#2C5195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2C5195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5195
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5195#FFFFFF#000000##FFFFFF
##2C51951.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#1C4E94
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5195;
/* rgb */ color: rgb(44, 81, 149);
/* oklch */ color: oklch(44.5% 0.119 261.4);
Tailwind
colors: {
  custom: {
    50: '#7281b4',
    500: '#2c5195',
    950: '#000000',
  },
}
SCSS
$custom: #2c5195;
$custom-light: #7281b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5195",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 149
  },
  "hsl": {
    "h": 218.857,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.11949,
    "h": 261.4
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#2C5195
secondary
#B99B64
accent
#AA4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5195

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

Preview Lab → · Contrast checker → · Palette generator →

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