#2D6EBA#2D6EBA

#2D6EBA is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.6% C 0.136 H 254.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2D6EBA
RGBrgb(45, 110, 186)
HSLhsl(212, 61%, 45%)
HSVhsv(212, 76%, 73%)
CMYKcmyk(75.8%, 40.9%, 0%, 27.1%)
CIE-LABlab(45.98, 6.12, -45.96)
CIE-LCHlch(45.98, 46.36, 277.59°)
OKLaboklab(53.56% -0.0365 -0.1313)
OKLCHoklch(53.56% 0.136 254.5)
XYZxyz(15.5178, 15.2531, 48.5712)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6EBA #BA792D
analogous
#2DB5BA #2D6EBA #322DBA
triadic
#2D6EBA #BA2D6E #6EBA2D
tetradic
#2D6EBA #BA2DB5 #BA792D #2DBA32
square
#2D6EBA #BA2DB5 #BA792D #2DBA32
split-complementary
#2D6EBA #BA322D #B5BA2D
monochromatic
#153457 #215189 #2D6EBA #508DD5 #81ADE0

Accessibility & contrast

On white

5.18
#2D6EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2D6EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6EBA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6EBA#FFFFFF#000000##FFFFFF
##2D6EBA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d6eba;
/* rgb */ color: rgb(45, 110, 186);
/* oklch */ color: oklch(53.6% 0.136 254.5);
Tailwind
colors: {
  custom: {
    50: '#7a97cf',
    500: '#2d6eba',
    950: '#000000',
  },
}
SCSS
$custom: #2d6eba;
$custom-light: #7a97cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6eba",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 212.34,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.13627,
    "h": 254.5
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D6EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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