#2C5AAF#2C5AAF

#2C5AAF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.145 H 261.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2C5AAF
RGBrgb(44, 90, 175)
HSLhsl(219, 60%, 43%)
HSVhsv(219, 75%, 69%)
CMYKcmyk(74.9%, 48.6%, 0%, 31.4%)
CIE-LABlab(39.48, 14.65, -49.94)
CIE-LCHlch(39.48, 52.04, 286.35°)
OKLaboklab(48.31% -0.0217 -0.1434)
OKLCHoklch(48.31% 0.145 261.4)
XYZxyz(12.4300, 10.9416, 42.0060)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AAF #AF812C
analogous
#2C9BAF #2C5AAF #3F2CAF
triadic
#2C5AAF #AF2C5A #5AAF2C
tetradic
#2C5AAF #AF2C9B #AF812C #2CAF3F
square
#2C5AAF #AF2C9B #AF812C #2CAF3F
split-complementary
#2C5AAF #AF3F2C #9BAF2C
monochromatic
#13284D #20417E #2C5AAF #4778D1 #789CDD

Accessibility & contrast

On white

6.59
#2C5AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2C5AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AAF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AAF#FFFFFF#000000##FFFFFF
##2C5AAF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5aaf;
/* rgb */ color: rgb(44, 90, 175);
/* oklch */ color: oklch(48.3% 0.145 261.4);
Tailwind
colors: {
  custom: {
    50: '#7788c7',
    500: '#2c5aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2c5aaf;
$custom-light: #7788c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5aaf",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 218.931,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48312,
    "c": 0.14502,
    "h": 261.4
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#2C5AAF
secondary
#C5A872
accent
#AB45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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