#2D65B7#2D65B7

#2D65B7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.3% C 0.142 H 258.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2D65B7
RGBrgb(45, 101, 183)
HSLhsl(216, 61%, 45%)
HSVhsv(216, 75%, 72%)
CMYKcmyk(75.4%, 44.8%, 0%, 28.2%)
CIE-LABlab(43.19, 10.70, -48.68)
CIE-LCHlch(43.19, 49.84, 282.39°)
OKLaboklab(51.34% -0.0291 -0.1395)
OKLCHoklch(51.34% 0.142 258.2)
XYZxyz(14.2800, 13.2825, 46.6017)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D65B7 #B77F2D
analogous
#2DAAB7 #2D65B7 #3A2DB7
triadic
#2D65B7 #B72D65 #65B72D
tetradic
#2D65B7 #B72DAA #B77F2D #2DB73A
square
#2D65B7 #B72DAA #B77F2D #2DB73A
split-complementary
#2D65B7 #B73A2D #AAB72D
monochromatic
#152F55 #214A86 #2D65B7 #4E84D3 #7FA6DF

Accessibility & contrast

On white

5.74
#2D65B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2D65B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D65B7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D65B7#FFFFFF#000000##FFFFFF
##2D65B71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBA
Deuteranopia (green-blind)
#1F60B5
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d65b7;
/* rgb */ color: rgb(45, 101, 183);
/* oklch */ color: oklch(51.3% 0.142 258.2);
Tailwind
colors: {
  custom: {
    50: '#7990cd',
    500: '#2d65b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d65b7;
$custom-light: #7990cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d65b7",
  "rgb": {
    "r": 45,
    "g": 101,
    "b": 183
  },
  "hsl": {
    "h": 215.652,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51338,
    "c": 0.14247,
    "h": 258.2
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#2D65B7
secondary
#C8A778
accent
#A344E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D65B7

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

Preview Lab → · Contrast checker → · Palette generator →

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