#2C5EA9#2C5EA9

#2C5EA9 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.8% C 0.132 H 258.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2C5EA9
RGBrgb(44, 94, 169)
HSLhsl(216, 59%, 42%)
HSVhsv(216, 74%, 66%)
CMYKcmyk(74%, 44.4%, 0%, 33.7%)
CIE-LABlab(40.25, 9.75, -45.15)
CIE-LCHlch(40.25, 46.19, 282.19°)
OKLaboklab(48.78% -0.0263 -0.1292)
OKLCHoklch(48.78% 0.132 258.5)
XYZxyz(12.2002, 11.4041, 39.0867)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EA9 #A9772C
analogous
#2C9DA9 #2C5EA9 #392CA9
triadic
#2C5EA9 #A92C5E #5EA92C
tetradic
#2C5EA9 #A92C9D #A9772C #2CA939
square
#2C5EA9 #A92C9D #A9772C #2CA939
split-complementary
#2C5EA9 #A9392C #9DA92C
monochromatic
#132848 #1F4378 #2C5EA9 #447BCE #749DDB

Accessibility & contrast

On white

6.40
#2C5EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2C5EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EA9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EA9#FFFFFF#000000##FFFFFF
##2C5EA91.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3965AC
Deuteranopia (green-blind)
#215AA7
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5ea9;
/* rgb */ color: rgb(44, 94, 169);
/* oklch */ color: oklch(48.8% 0.132 258.5);
Tailwind
colors: {
  custom: {
    50: '#768bc3',
    500: '#2c5ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ea9;
$custom-light: #768bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ea9",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 216,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48782,
    "c": 0.13189,
    "h": 258.5
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#2C5EA9
secondary
#C3A16E
accent
#A346E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2C5EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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