#2C5DAF#2C5DAF

#2C5DAF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.141 H 260.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#2C5DAF
RGBrgb(44, 93, 175)
HSLhsl(218, 60%, 43%)
HSVhsv(218, 75%, 69%)
CMYKcmyk(74.9%, 46.9%, 0%, 31.4%)
CIE-LABlab(40.34, 12.69, -48.55)
CIE-LCHlch(40.34, 50.18, 284.64°)
OKLaboklab(48.97% -0.0243 -0.1393)
OKLCHoklch(48.97% 0.141 260.1)
XYZxyz(12.6881, 11.4579, 42.0920)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DAF #AF7E2C
analogous
#2C9EAF #2C5DAF #3C2CAF
triadic
#2C5DAF #AF2C5D #5DAF2C
tetradic
#2C5DAF #AF2C9E #AF7E2C #2CAF3C
square
#2C5DAF #AF2C9E #AF7E2C #2CAF3C
split-complementary
#2C5DAF #AF3C2C #9EAF2C
monochromatic
#13294D #20437E #2C5DAF #477BD1 #789EDD

Accessibility & contrast

On white

6.38
#2C5DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2C5DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DAF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DAF#FFFFFF#000000##FFFFFF
##2C5DAF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#1159AD
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5daf;
/* rgb */ color: rgb(44, 93, 175);
/* oklch */ color: oklch(49.0% 0.141 260.1);
Tailwind
colors: {
  custom: {
    50: '#778ac7',
    500: '#2c5daf',
    950: '#000000',
  },
}
SCSS
$custom: #2c5daf;
$custom-light: #778ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5daf",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 217.557,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48972,
    "c": 0.14137,
    "h": 260.1
  },
  "luminance": 0.11459
}

Semantic roles & 50–950 ramp

primary
#2C5DAF
secondary
#C5A672
accent
#A845E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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