#2D5FA4#2D5FA4

#2D5FA4 is a mid, vivid cyan. Relative luminance 0.114; OKLCH L 48.7% C 0.123 H 257.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2D5FA4
RGBrgb(45, 95, 164)
HSLhsl(215, 57%, 41%)
HSVhsv(215, 73%, 64%)
CMYKcmyk(72.6%, 42.1%, 0%, 35.7%)
CIE-LABlab(40.28, 7.35, -42.14)
CIE-LCHlch(40.28, 42.78, 279.90°)
OKLaboklab(48.72% -0.0275 -0.1204)
OKLCHoklch(48.72% 0.123 257.1)
XYZxyz(11.8728, 11.4214, 36.6936)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FA4 #A4722D
analogous
#2D9AA4 #2D5FA4 #362DA4
triadic
#2D5FA4 #A42D5F #5FA42D
tetradic
#2D5FA4 #A42D9A #A4722D #2DA436
square
#2D5FA4 #A42D9A #A4722D #2DA436
split-complementary
#2D5FA4 #A4362D #9AA42D
monochromatic
#132744 #204374 #2D5FA4 #437CCB #739ED9

Accessibility & contrast

On white

6.39
#2D5FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2D5FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FA4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FA4#FFFFFF#000000##FFFFFF
##2D5FA41.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A7
Deuteranopia (green-blind)
#2A5AA3
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d5fa4;
/* rgb */ color: rgb(45, 95, 164);
/* oklch */ color: oklch(48.7% 0.123 257.1);
Tailwind
colors: {
  custom: {
    50: '#758bbf',
    500: '#2d5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fa4;
$custom-light: #758bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fa4",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 214.79,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48717,
    "c": 0.12347,
    "h": 257.1
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#2D5FA4
secondary
#C09D6D
accent
#A048E0
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2D5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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