#2D5FA0#2D5FA0

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

Color values

HEX#2D5FA0
RGBrgb(45, 95, 160)
HSLhsl(214, 56%, 40%)
HSVhsv(214, 72%, 63%)
CMYKcmyk(71.9%, 40.6%, 0%, 37.3%)
CIE-LABlab(40.05, 5.84, -40.14)
CIE-LCHlch(40.05, 40.56, 278.28°)
OKLaboklab(48.46% -0.0284 -0.1145)
OKLCHoklch(48.46% 0.118 256)
XYZxyz(11.5172, 11.2791, 34.8210)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FA0 #A06E2D
analogous
#2D99A0 #2D5FA0 #342DA0
triadic
#2D5FA0 #A02D5F #5FA02D
tetradic
#2D5FA0 #A02D99 #A06E2D #2DA034
square
#2D5FA0 #A02D99 #A06E2D #2DA034
split-complementary
#2D5FA0 #A0342D #99A02D
monochromatic
#122640 #204370 #2D5FA0 #417CC9 #709DD7

Accessibility & contrast

On white

6.45
#2D5FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D5FA0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FA0#FFFFFF#000000##FFFFFF
##2D5FA01.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4164A3
Deuteranopia (green-blind)
#2F599F
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5fa0;
/* rgb */ color: rgb(45, 95, 160);
/* oklch */ color: oklch(48.5% 0.118 256.0);
Tailwind
colors: {
  custom: {
    50: '#748cbc',
    500: '#2d5fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fa0;
$custom-light: #748cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fa0",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 213.913,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48458,
    "c": 0.11796,
    "h": 256
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#2D5FA0
secondary
#BE9A6B
accent
#9E48DF
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2D5FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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