#2D65B4#2D65B4

#2D65B4 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.1% C 0.138 H 257.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2D65B4
RGBrgb(45, 101, 180)
HSLhsl(215, 60%, 44%)
HSVhsv(215, 75%, 71%)
CMYKcmyk(75%, 43.9%, 0%, 29.4%)
CIE-LABlab(43.00, 9.56, -47.22)
CIE-LCHlch(43.00, 48.18, 281.44°)
OKLaboklab(51.14% -0.0297 -0.1352)
OKLCHoklch(51.14% 0.138 257.6)
XYZxyz(13.9711, 13.1590, 44.9748)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D65B4 #B47C2D
analogous
#2DA9B4 #2D65B4 #392DB4
triadic
#2D65B4 #B42D65 #65B42D
tetradic
#2D65B4 #B42DA9 #B47C2D #2DB439
square
#2D65B4 #B42DA9 #B47C2D #2DB439
split-complementary
#2D65B4 #B4392D #A9B42D
monochromatic
#152E52 #214A83 #2D65B4 #4C84D2 #7DA5DE

Accessibility & contrast

On white

5.78
#2D65B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2D65B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D65B4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D65B4#FFFFFF#000000##FFFFFF
##2D65B41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB7
Deuteranopia (green-blind)
#2460B2
Tritanopia (blue-blind)
#007883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d65b4;
/* rgb */ color: rgb(45, 101, 180);
/* oklch */ color: oklch(51.1% 0.138 257.6);
Tailwind
colors: {
  custom: {
    50: '#7890cb',
    500: '#2d65b4',
    950: '#000000',
  },
}
SCSS
$custom: #2d65b4;
$custom-light: #7890cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d65b4",
  "rgb": {
    "r": 45,
    "g": 101,
    "b": 180
  },
  "hsl": {
    "h": 215.111,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51136,
    "c": 0.13841,
    "h": 257.6
  },
  "luminance": 0.13161
}

Semantic roles & 50–950 ramp

primary
#2D65B4
secondary
#C7A576
accent
#A145E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D65B4

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

Preview Lab → · Contrast checker → · Palette generator →

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