#2D5FA1#2D5FA1

#2D5FA1 is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.5% C 0.119 H 256.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2D5FA1
RGBrgb(45, 95, 161)
HSLhsl(214, 56%, 40%)
HSVhsv(214, 72%, 63%)
CMYKcmyk(72%, 41%, 0%, 36.9%)
CIE-LABlab(40.10, 6.22, -40.64)
CIE-LCHlch(40.10, 41.11, 278.70°)
OKLaboklab(48.52% -0.0282 -0.1159)
OKLCHoklch(48.52% 0.119 256.3)
XYZxyz(11.6051, 11.3143, 35.2836)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FA1 #A16F2D
analogous
#2D99A1 #2D5FA1 #352DA1
triadic
#2D5FA1 #A12D5F #5FA12D
tetradic
#2D5FA1 #A12D99 #A16F2D #2DA135
square
#2D5FA1 #A12D99 #A16F2D #2DA135
split-complementary
#2D5FA1 #A1352D #99A12D
monochromatic
#122741 #204371 #2D5FA1 #417CCA #719DD7

Accessibility & contrast

On white

6.44
#2D5FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2D5FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FA1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FA1#FFFFFF#000000##FFFFFF
##2D5FA11.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A4
Deuteranopia (green-blind)
#2E5AA0
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5fa1;
/* rgb */ color: rgb(45, 95, 161);
/* oklch */ color: oklch(48.5% 0.119 256.3);
Tailwind
colors: {
  custom: {
    50: '#758bbd',
    500: '#2d5fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fa1;
$custom-light: #758bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fa1",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 214.138,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.11933,
    "h": 256.3
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#2D5FA1
secondary
#BF9B6B
accent
#9E48E0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2D5FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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