#2D5EB3#2D5EB3

#2D5EB3 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.145 H 260.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2D5EB3
RGBrgb(45, 94, 179)
HSLhsl(218, 60%, 44%)
HSVhsv(218, 75%, 70%)
CMYKcmyk(74.9%, 47.5%, 0%, 29.8%)
CIE-LABlab(40.92, 13.69, -49.97)
CIE-LCHlch(40.92, 51.81, 285.32°)
OKLaboklab(49.51% -0.0238 -0.1434)
OKLCHoklch(49.51% 0.145 260.6)
XYZxyz(13.2186, 11.8165, 44.2232)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EB3 #B3822D
analogous
#2DA1B3 #2D5EB3 #3F2DB3
triadic
#2D5EB3 #B32D5E #5EB32D
tetradic
#2D5EB3 #B32DA1 #B3822D #2DB33F
square
#2D5EB3 #B32DA1 #B3822D #2DB33F
split-complementary
#2D5EB3 #B33F2D #A1B32D
monochromatic
#142B51 #214482 #2D5EB3 #4B7DD2 #7CA0DE

Accessibility & contrast

On white

6.24
#2D5EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2D5EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EB3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EB3#FFFFFF#000000##FFFFFF
##2D5EB31.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B6
Deuteranopia (green-blind)
#0B5BB1
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5eb3;
/* rgb */ color: rgb(45, 94, 179);
/* oklch */ color: oklch(49.5% 0.145 260.6);
Tailwind
colors: {
  custom: {
    50: '#788bca',
    500: '#2d5eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d5eb3;
$custom-light: #788bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5eb3",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 218.06,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49513,
    "c": 0.14535,
    "h": 260.6
  },
  "luminance": 0.11818
}

Semantic roles & 50–950 ramp

primary
#2D5EB3
secondary
#C7A975
accent
#A945E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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