#2D5BAF#2D5BAF

#2D5BAF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.143 H 261.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2D5BAF
RGBrgb(45, 91, 175)
HSLhsl(219, 59%, 43%)
HSVhsv(219, 74%, 69%)
CMYKcmyk(74.3%, 48%, 0%, 31.4%)
CIE-LABlab(39.80, 14.13, -49.41)
CIE-LCHlch(39.80, 51.39, 285.95°)
OKLaboklab(48.57% -0.0218 -0.1418)
OKLCHoklch(48.57% 0.143 261.2)
XYZxyz(12.5584, 11.1338, 42.0363)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5BAF #AF812D
analogous
#2D9CAF #2D5BAF #402DAF
triadic
#2D5BAF #AF2D5B #5BAF2D
tetradic
#2D5BAF #AF2D9C #AF812D #2DAF40
square
#2D5BAF #AF2D9C #AF812D #2DAF40
split-complementary
#2D5BAF #AF402D #9CAF2D
monochromatic
#14284E #20427E #2D5BAF #4979D0 #7A9DDD

Accessibility & contrast

On white

6.51
#2D5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2D5BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5BAF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5BAF#FFFFFF#000000##FFFFFF
##2D5BAF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#0658AD
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5baf;
/* rgb */ color: rgb(45, 91, 175);
/* oklch */ color: oklch(48.6% 0.143 261.2);
Tailwind
colors: {
  custom: {
    50: '#7888c7',
    500: '#2d5baf',
    950: '#000000',
  },
}
SCSS
$custom: #2d5baf;
$custom-light: #7888c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5baf",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 218.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48571,
    "c": 0.14348,
    "h": 261.2
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#2D5BAF
secondary
#C5A873
accent
#AB46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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