#2C5DA3#2C5DA3

#2C5DA3 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.125 H 257.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2C5DA3
RGBrgb(44, 93, 163)
HSLhsl(215, 57%, 41%)
HSVhsv(215, 73%, 64%)
CMYKcmyk(73%, 42.9%, 0%, 36.1%)
CIE-LABlab(39.59, 8.12, -42.65)
CIE-LCHlch(39.59, 43.41, 280.77°)
OKLaboklab(48.15% -0.0266 -0.1219)
OKLCHoklch(48.15% 0.125 257.7)
XYZxyz(11.5615, 11.0073, 36.1585)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DA3 #A3722C
analogous
#2C98A3 #2C5DA3 #362CA3
triadic
#2C5DA3 #A32C5D #5DA32C
tetradic
#2C5DA3 #A32C98 #A3722C #2CA336
square
#2C5DA3 #A32C98 #A3722C #2CA336
split-complementary
#2C5DA3 #A3362C #98A32C
monochromatic
#122643 #1F4273 #2C5DA3 #417ACC #719CD9

Accessibility & contrast

On white

6.56
#2C5DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2C5DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DA3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DA3#FFFFFF#000000##FFFFFF
##2C5DA31.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A6
Deuteranopia (green-blind)
#2758A2
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5da3;
/* rgb */ color: rgb(44, 93, 163);
/* oklch */ color: oklch(48.2% 0.125 257.7);
Tailwind
colors: {
  custom: {
    50: '#758abf',
    500: '#2c5da3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5da3;
$custom-light: #758abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5da3",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 163
  },
  "hsl": {
    "h": 215.294,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48153,
    "c": 0.12477,
    "h": 257.7
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#2C5DA3
secondary
#C09D6B
accent
#A147E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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