#2D6FB8#2D6FB8

#2D6FB8 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.133 H 253.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2D6FB8
RGBrgb(45, 111, 184)
HSLhsl(212, 61%, 45%)
HSVhsv(212, 76%, 72%)
CMYKcmyk(75.5%, 39.7%, 0%, 27.8%)
CIE-LABlab(46.16, 4.75, -44.51)
CIE-LCHlch(46.16, 44.76, 276.09°)
OKLaboklab(53.67% -0.0378 -0.127)
OKLCHoklch(53.67% 0.133 253.4)
XYZxyz(15.4151, 15.3857, 47.4954)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6FB8 #B8762D
analogous
#2DB5B8 #2D6FB8 #312DB8
triadic
#2D6FB8 #B82D6F #6FB82D
tetradic
#2D6FB8 #B82DB5 #B8762D #2DB831
square
#2D6FB8 #B82DB5 #B8762D #2DB831
split-complementary
#2D6FB8 #B8312D #B5B82D
monochromatic
#153456 #215187 #2D6FB8 #4E8ED4 #80ADE0

Accessibility & contrast

On white

5.15
#2D6FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2D6FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6FB8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6FB8#FFFFFF#000000##FFFFFF
##2D6FB81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BB
Deuteranopia (green-blind)
#3667B7
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d6fb8;
/* rgb */ color: rgb(45, 111, 184);
/* oklch */ color: oklch(53.7% 0.133 253.4);
Tailwind
colors: {
  custom: {
    50: '#7997ce',
    500: '#2d6fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2d6fb8;
$custom-light: #7997ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6fb8",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 184
  },
  "hsl": {
    "h": 211.511,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53665,
    "c": 0.13255,
    "h": 253.4
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#2D6FB8
secondary
#C9A278
accent
#9844E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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