#2C5DA9#2C5DA9

#2C5DA9 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.133 H 259.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2C5DA9
RGBrgb(44, 93, 169)
HSLhsl(216, 59%, 42%)
HSVhsv(216, 74%, 66%)
CMYKcmyk(74%, 45%, 0%, 33.7%)
CIE-LABlab(39.96, 10.40, -45.62)
CIE-LCHlch(39.96, 46.79, 282.84°)
OKLaboklab(48.56% -0.0254 -0.1306)
OKLCHoklch(48.56% 0.133 259)
XYZxyz(12.1119, 11.2274, 39.0572)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DA9 #A9782C
analogous
#2C9CA9 #2C5DA9 #3A2CA9
triadic
#2C5DA9 #A92C5D #5DA92C
tetradic
#2C5DA9 #A92C9C #A9782C #2CA93A
square
#2C5DA9 #A92C9C #A9782C #2CA93A
split-complementary
#2C5DA9 #A93A2C #9CA92C
monochromatic
#132848 #1F4278 #2C5DA9 #447ACE #749DDB

Accessibility & contrast

On white

6.47
#2C5DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2C5DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DA9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DA9#FFFFFF#000000##FFFFFF
##2C5DA91.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AC
Deuteranopia (green-blind)
#1E59A7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5da9;
/* rgb */ color: rgb(44, 93, 169);
/* oklch */ color: oklch(48.6% 0.133 259.0);
Tailwind
colors: {
  custom: {
    50: '#768ac3',
    500: '#2c5da9',
    950: '#000000',
  },
}
SCSS
$custom: #2c5da9;
$custom-light: #768ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5da9",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 169
  },
  "hsl": {
    "h": 216.48,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48557,
    "c": 0.13307,
    "h": 259
  },
  "luminance": 0.11229
}

Semantic roles & 50–950 ramp

primary
#2C5DA9
secondary
#C3A26E
accent
#A546E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2C5DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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