#2D6EB9#2D6EB9

#2D6EB9 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.5% C 0.135 H 254.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2D6EB9
RGBrgb(45, 110, 185)
HSLhsl(212, 61%, 45%)
HSVhsv(212, 76%, 73%)
CMYKcmyk(75.7%, 40.5%, 0%, 27.5%)
CIE-LABlab(45.92, 5.75, -45.47)
CIE-LCHlch(45.92, 45.83, 277.21°)
OKLaboklab(53.5% -0.0367 -0.1299)
OKLCHoklch(53.5% 0.135 254.2)
XYZxyz(15.4118, 15.2108, 48.0133)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6EB9 #B9782D
analogous
#2DB4B9 #2D6EB9 #322DB9
triadic
#2D6EB9 #B92D6E #6EB92D
tetradic
#2D6EB9 #B92DB4 #B9782D #2DB932
square
#2D6EB9 #B92DB4 #B9782D #2DB932
split-complementary
#2D6EB9 #B9322D #B4B92D
monochromatic
#153357 #215188 #2D6EB9 #4F8DD4 #80ADE0

Accessibility & contrast

On white

5.19
#2D6EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2D6EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6EB9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6EB9#FFFFFF#000000##FFFFFF
##2D6EB91.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d6eb9;
/* rgb */ color: rgb(45, 110, 185);
/* oklch */ color: oklch(53.5% 0.135 254.2);
Tailwind
colors: {
  custom: {
    50: '#7997ce',
    500: '#2d6eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2d6eb9;
$custom-light: #7997ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6eb9",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 185
  },
  "hsl": {
    "h": 212.143,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53499,
    "c": 0.13495,
    "h": 254.2
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#2D6EB9
secondary
#C9A479
accent
#9A44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2D6EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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