#2D5BAC#2D5BAC

#2D5BAC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.139 H 260.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2D5BAC
RGBrgb(45, 91, 172)
HSLhsl(218, 59%, 43%)
HSVhsv(218, 74%, 67%)
CMYKcmyk(73.8%, 47.1%, 0%, 32.5%)
CIE-LABlab(39.61, 12.98, -47.96)
CIE-LCHlch(39.61, 49.68, 285.15°)
OKLaboklab(48.36% -0.0223 -0.1375)
OKLCHoklch(48.36% 0.139 260.8)
XYZxyz(12.2670, 11.0173, 40.5018)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5BAC #AC7E2D
analogous
#2D9AAC #2D5BAC #3F2DAC
triadic
#2D5BAC #AC2D5B #5BAC2D
tetradic
#2D5BAC #AC2D9A #AC7E2D #2DAC3F
square
#2D5BAC #AC2D9A #AC7E2D #2DAC3F
split-complementary
#2D5BAC #AC3F2D #9AAC2D
monochromatic
#14284B #20417B #2D5BAC #4778CF #789CDC

Accessibility & contrast

On white

6.55
#2D5BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2D5BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5BAC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5BAC#FFFFFF#000000##FFFFFF
##2D5BAC1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3064AF
Deuteranopia (green-blind)
#1158AA
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5bac;
/* rgb */ color: rgb(45, 91, 172);
/* oklch */ color: oklch(48.4% 0.139 260.8);
Tailwind
colors: {
  custom: {
    50: '#7788c5',
    500: '#2d5bac',
    950: '#000000',
  },
}
SCSS
$custom: #2d5bac;
$custom-light: #7788c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5bac",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 172
  },
  "hsl": {
    "h": 218.268,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.13933,
    "h": 260.8
  },
  "luminance": 0.11019
}

Semantic roles & 50–950 ramp

primary
#2D5BAC
secondary
#C4A671
accent
#A946E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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