#2C5EAF#2C5EAF

#2C5EAF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.140 H 259.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2C5EAF
RGBrgb(44, 94, 175)
HSLhsl(217, 60%, 43%)
HSVhsv(217, 75%, 69%)
CMYKcmyk(74.9%, 46.3%, 0%, 31.4%)
CIE-LABlab(40.63, 12.04, -48.09)
CIE-LCHlch(40.63, 49.58, 284.05°)
OKLaboklab(49.19% -0.0252 -0.1379)
OKLCHoklch(49.19% 0.14 259.7)
XYZxyz(12.7765, 11.6346, 42.1215)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EAF #AF7D2C
analogous
#2C9FAF #2C5EAF #3B2CAF
triadic
#2C5EAF #AF2C5E #5EAF2C
tetradic
#2C5EAF #AF2C9F #AF7D2C #2CAF3B
square
#2C5EAF #AF2C9F #AF7D2C #2CAF3B
split-complementary
#2C5EAF #AF3B2C #9FAF2C
monochromatic
#13294D #20447E #2C5EAF #477CD1 #789FDD

Accessibility & contrast

On white

6.31
#2C5EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2C5EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EAF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EAF#FFFFFF#000000##FFFFFF
##2C5EAF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#165AAD
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5eaf;
/* rgb */ color: rgb(44, 94, 175);
/* oklch */ color: oklch(49.2% 0.140 259.7);
Tailwind
colors: {
  custom: {
    50: '#778bc7',
    500: '#2c5eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2c5eaf;
$custom-light: #778bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5eaf",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 217.099,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49194,
    "c": 0.14016,
    "h": 259.7
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#2C5EAF
secondary
#C5A572
accent
#A745E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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