#2D61B2#2D61B2

#2D61B2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.140 H 259.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2D61B2
RGBrgb(45, 97, 178)
HSLhsl(217, 60%, 44%)
HSVhsv(217, 75%, 70%)
CMYKcmyk(74.7%, 45.5%, 0%, 30.2%)
CIE-LABlab(41.72, 11.37, -48.10)
CIE-LCHlch(41.72, 49.43, 283.30°)
OKLaboklab(50.11% -0.0266 -0.1378)
OKLCHoklch(50.11% 0.14 259.1)
XYZxyz(13.3898, 12.3201, 43.7832)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D61B2 #B27E2D
analogous
#2DA3B2 #2D61B2 #3B2DB2
triadic
#2D61B2 #B22D61 #61B22D
tetradic
#2D61B2 #B22DA3 #B27E2D #2DB23B
square
#2D61B2 #B22DA3 #B27E2D #2DB23B
split-complementary
#2D61B2 #B23B2D #A3B22D
monochromatic
#142C50 #214681 #2D61B2 #4B7FD1 #7CA2DE

Accessibility & contrast

On white

6.06
#2D61B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2D61B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D61B2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D61B2#FFFFFF#000000##FFFFFF
##2D61B21.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#1B5DB0
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d61b2;
/* rgb */ color: rgb(45, 97, 178);
/* oklch */ color: oklch(50.1% 0.140 259.1);
Tailwind
colors: {
  custom: {
    50: '#788dc9',
    500: '#2d61b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d61b2;
$custom-light: #788dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d61b2",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 216.541,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50106,
    "c": 0.14038,
    "h": 259.1
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#2D61B2
secondary
#C6A675
accent
#A545E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D61B2

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

Preview Lab → · Contrast checker → · Palette generator →

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