#2C5295#2C5295

#2C5295 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.118 H 260.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2C5295
RGBrgb(44, 82, 149)
HSLhsl(218, 54%, 38%)
HSVhsv(218, 70%, 58%)
CMYKcmyk(70.5%, 45%, 0%, 41.6%)
CIE-LABlab(35.48, 9.99, -40.83)
CIE-LCHlch(35.48, 42.03, 283.74°)
OKLaboklab(44.69% -0.0188 -0.1167)
OKLCHoklch(44.69% 0.118 260.8)
XYZxyz(9.4789, 8.7390, 29.6152)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5295 #956F2C
analogous
#2C8695 #2C5295 #3B2C95
triadic
#2C5295 #952C52 #52952C
tetradic
#2C5295 #952C86 #956F2C #2C953B
square
#2C5295 #952C86 #956F2C #2C953B
split-complementary
#2C5295 #953B2C #86952C
monochromatic
#101E37 #1E3866 #2C5295 #3A6CC4 #698FD3

Accessibility & contrast

On white

7.64
#2C5295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C5295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5295
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5295#FFFFFF#000000##FFFFFF
##2C52951.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315998
Deuteranopia (green-blind)
#1F4F94
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5295;
/* rgb */ color: rgb(44, 82, 149);
/* oklch */ color: oklch(44.7% 0.118 260.8);
Tailwind
colors: {
  custom: {
    50: '#7282b4',
    500: '#2c5295',
    950: '#000000',
  },
}
SCSS
$custom: #2c5295;
$custom-light: #7282b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5295",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 218.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44693,
    "c": 0.11825,
    "h": 260.8
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#2C5295
secondary
#B99A64
accent
#A84ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5295

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

Preview Lab → · Contrast checker → · Palette generator →

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