#2D5FA2#2D5FA2

#2D5FA2 is a mid, vivid cyan. Relative luminance 0.114; OKLCH L 48.6% C 0.121 H 256.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2D5FA2
RGBrgb(45, 95, 162)
HSLhsl(214, 57%, 41%)
HSVhsv(214, 72%, 64%)
CMYKcmyk(72.2%, 41.4%, 0%, 36.5%)
CIE-LABlab(40.16, 6.60, -41.14)
CIE-LCHlch(40.16, 41.67, 279.11°)
OKLaboklab(48.59% -0.028 -0.1174)
OKLCHoklch(48.59% 0.121 256.6)
XYZxyz(11.6936, 11.3497, 35.7498)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FA2 #A2702D
analogous
#2D99A2 #2D5FA2 #352DA2
triadic
#2D5FA2 #A22D5F #5FA22D
tetradic
#2D5FA2 #A22D99 #A2702D #2DA235
square
#2D5FA2 #A22D99 #A2702D #2DA235
split-complementary
#2D5FA2 #A2352D #99A22D
monochromatic
#122742 #204372 #2D5FA2 #427CCA #729DD8

Accessibility & contrast

On white

6.42
#2D5FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2D5FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FA2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FA2#FFFFFF#000000##FFFFFF
##2D5FA21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A5
Deuteranopia (green-blind)
#2D5AA1
Tritanopia (blue-blind)
#006F78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d5fa2;
/* rgb */ color: rgb(45, 95, 162);
/* oklch */ color: oklch(48.6% 0.121 256.6);
Tailwind
colors: {
  custom: {
    50: '#758bbe',
    500: '#2d5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fa2;
$custom-light: #758bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fa2",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 214.359,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48587,
    "c": 0.12071,
    "h": 256.6
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#2D5FA2
secondary
#BF9B6C
accent
#9F48E0
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2D5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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