#2D5FB3#2D5FB3

#2D5FB3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.7% C 0.144 H 260.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2D5FB3
RGBrgb(45, 95, 179)
HSLhsl(218, 60%, 44%)
HSVhsv(218, 75%, 70%)
CMYKcmyk(74.9%, 46.9%, 0%, 29.8%)
CIE-LABlab(41.21, 13.04, -49.51)
CIE-LCHlch(41.21, 51.20, 284.76°)
OKLaboklab(49.73% -0.0247 -0.142)
OKLCHoklch(49.73% 0.144 260.1)
XYZxyz(13.3081, 11.9955, 44.2531)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FB3 #B3812D
analogous
#2DA2B3 #2D5FB3 #3E2DB3
triadic
#2D5FB3 #B32D5F #5FB32D
tetradic
#2D5FB3 #B32DA2 #B3812D #2DB33E
square
#2D5FB3 #B32DA2 #B3812D #2DB33E
split-complementary
#2D5FB3 #B33E2D #A2B32D
monochromatic
#142B51 #214582 #2D5FB3 #4B7ED2 #7CA1DE

Accessibility & contrast

On white

6.18
#2D5FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2D5FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FB3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FB3#FFFFFF#000000##FFFFFF
##2D5FB31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#105BB1
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d5fb3;
/* rgb */ color: rgb(45, 95, 179);
/* oklch */ color: oklch(49.7% 0.144 260.1);
Tailwind
colors: {
  custom: {
    50: '#788bca',
    500: '#2d5fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fb3;
$custom-light: #788bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fb3",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 217.612,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49733,
    "c": 0.14415,
    "h": 260.1
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#2D5FB3
secondary
#C7A875
accent
#A845E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D5FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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