#2D6FBD#2D6FBD

#2D6FBD is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 54.0% C 0.139 H 254.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2D6FBD
RGBrgb(45, 111, 189)
HSLhsl(213, 62%, 46%)
HSVhsv(213, 76%, 74%)
CMYKcmyk(76.2%, 41.3%, 0%, 25.9%)
CIE-LABlab(46.44, 6.63, -46.95)
CIE-LCHlch(46.44, 47.42, 278.03°)
OKLaboklab(53.98% -0.0367 -0.1342)
OKLCHoklch(53.98% 0.139 254.7)
XYZxyz(15.9485, 15.5990, 50.3046)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6FBD #BD7B2D
analogous
#2DB7BD #2D6FBD #332DBD
triadic
#2D6FBD #BD2D6F #6FBD2D
tetradic
#2D6FBD #BD2DB7 #BD7B2D #2DBD33
square
#2D6FBD #BD2DB7 #BD7B2D #2DBD33
split-complementary
#2D6FBD #BD332D #B7BD2D
monochromatic
#15355A #21528C #2D6FBD #528ED6 #83AEE1

Accessibility & contrast

On white

5.10
#2D6FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2D6FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6FBD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6FBD#FFFFFF#000000##FFFFFF
##2D6FBD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4975C0
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d6fbd;
/* rgb */ color: rgb(45, 111, 189);
/* oklch */ color: oklch(54.0% 0.139 254.7);
Tailwind
colors: {
  custom: {
    50: '#7a97d1',
    500: '#2d6fbd',
    950: '#000000',
  },
}
SCSS
$custom: #2d6fbd;
$custom-light: #7a97d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6fbd",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 189
  },
  "hsl": {
    "h": 212.5,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5398,
    "c": 0.13912,
    "h": 254.7
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#2D6FBD
secondary
#CBA67B
accent
#9B43E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2D6FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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