#2D6DBA#2D6DBA

#2D6DBA is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.3% C 0.137 H 255.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2D6DBA
RGBrgb(45, 109, 186)
HSLhsl(213, 61%, 45%)
HSVhsv(213, 76%, 73%)
CMYKcmyk(75.8%, 41.4%, 0%, 27.1%)
CIE-LABlab(45.69, 6.75, -46.42)
CIE-LCHlch(45.69, 46.91, 278.28°)
OKLaboklab(53.34% -0.0356 -0.1327)
OKLCHoklch(53.34% 0.137 255)
XYZxyz(15.4105, 15.0386, 48.5354)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6DBA #BA7A2D
analogous
#2DB3BA #2D6DBA #332DBA
triadic
#2D6DBA #BA2D6D #6DBA2D
tetradic
#2D6DBA #BA2DB3 #BA7A2D #2DBA33
square
#2D6DBA #BA2DB3 #BA7A2D #2DBA33
split-complementary
#2D6DBA #BA332D #B3BA2D
monochromatic
#153357 #215089 #2D6DBA #508CD5 #81ACE0

Accessibility & contrast

On white

5.24
#2D6DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2D6DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6DBA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6DBA#FFFFFF#000000##FFFFFF
##2D6DBA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4873BD
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d6dba;
/* rgb */ color: rgb(45, 109, 186);
/* oklch */ color: oklch(53.3% 0.137 255.0);
Tailwind
colors: {
  custom: {
    50: '#7a96cf',
    500: '#2d6dba',
    950: '#000000',
  },
}
SCSS
$custom: #2d6dba;
$custom-light: #7a96cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6dba",
  "rgb": {
    "r": 45,
    "g": 109,
    "b": 186
  },
  "hsl": {
    "h": 212.766,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.13737,
    "h": 255
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#2D6DBA
secondary
#C9A579
accent
#9B44E4
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2D6DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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