#2D6EC9#2D6EC9

#2D6EC9 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.5% C 0.156 H 257.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2D6EC9
RGBrgb(45, 110, 201)
HSLhsl(215, 63%, 48%)
HSVhsv(215, 78%, 79%)
CMYKcmyk(77.6%, 45.3%, 0%, 21.2%)
CIE-LABlab(46.88, 11.78, -53.17)
CIE-LCHlch(46.88, 54.46, 282.49°)
OKLaboklab(54.55% -0.0334 -0.1525)
OKLCHoklch(54.55% 0.156 257.7)
XYZxyz(17.1969, 15.9248, 57.4145)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6EC9 #C9882D
analogous
#2DBCC9 #2D6EC9 #3A2DC9
triadic
#2D6EC9 #C92D6E #6EC92D
tetradic
#2D6EC9 #C92DBC #C9882D #2DC93A
square
#2D6EC9 #C92DBC #C9882D #2DC93A
split-complementary
#2D6EC9 #C93A2D #BCC92D
monochromatic
#173765 #225397 #2D6EC9 #598FDA #8BB1E5

Accessibility & contrast

On white

5.02
#2D6EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2D6EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6EC9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6EC9#FFFFFF#000000##FFFFFF
##2D6EC91.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E77CC
Deuteranopia (green-blind)
#1B69C7
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d6ec9;
/* rgb */ color: rgb(45, 110, 201);
/* oklch */ color: oklch(54.5% 0.156 257.7);
Tailwind
colors: {
  custom: {
    50: '#7d96da',
    500: '#2d6ec9',
    950: '#000000',
  },
}
SCSS
$custom: #2d6ec9;
$custom-light: #7d96da;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6ec9",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 201
  },
  "hsl": {
    "h": 215,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.15612,
    "h": 257.7
  },
  "luminance": 0.15927
}

Semantic roles & 50–950 ramp

primary
#2D6EC9
secondary
#CFAF83
accent
#A241E6
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2D6EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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