#2D6FBA#2D6FBA

#2D6FBA is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.135 H 254.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2D6FBA
RGBrgb(45, 111, 186)
HSLhsl(212, 61%, 45%)
HSVhsv(212, 76%, 73%)
CMYKcmyk(75.8%, 40.3%, 0%, 27.1%)
CIE-LABlab(46.27, 5.50, -45.49)
CIE-LCHlch(46.27, 45.82, 276.89°)
OKLaboklab(53.79% -0.0373 -0.1299)
OKLCHoklch(53.79% 0.135 254)
XYZxyz(15.6263, 15.4701, 48.6073)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6FBA #BA782D
analogous
#2DB5BA #2D6FBA #322DBA
triadic
#2D6FBA #BA2D6F #6FBA2D
tetradic
#2D6FBA #BA2DB5 #BA782D #2DBA32
square
#2D6FBA #BA2DB5 #BA782D #2DBA32
split-complementary
#2D6FBA #BA322D #B5BA2D
monochromatic
#153457 #215289 #2D6FBA #508ED5 #81AEE0

Accessibility & contrast

On white

5.13
#2D6FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2D6FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6FBA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6FBA#FFFFFF#000000##FFFFFF
##2D6FBA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d6fba;
/* rgb */ color: rgb(45, 111, 186);
/* oklch */ color: oklch(53.8% 0.135 254.0);
Tailwind
colors: {
  custom: {
    50: '#7a97cf',
    500: '#2d6fba',
    950: '#000000',
  },
}
SCSS
$custom: #2d6fba;
$custom-light: #7a97cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6fba",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 186
  },
  "hsl": {
    "h": 211.915,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5379,
    "c": 0.13517,
    "h": 254
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#2D6FBA
secondary
#C9A479
accent
#9944E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2D6FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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