#2E6DBA#2E6DBA

#2E6DBA is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.4% C 0.137 H 255.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2E6DBA
RGBrgb(46, 109, 186)
HSLhsl(213, 60%, 45%)
HSVhsv(213, 75%, 73%)
CMYKcmyk(75.3%, 41.4%, 0%, 27.1%)
CIE-LABlab(45.72, 6.88, -46.37)
CIE-LCHlch(45.72, 46.88, 278.44°)
OKLaboklab(53.37% -0.0349 -0.1325)
OKLCHoklch(53.37% 0.137 255.2)
XYZxyz(15.4550, 15.0615, 48.5375)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6DBA #BA7B2E
analogous
#2EB3BA #2E6DBA #352EBA
triadic
#2E6DBA #BA2E6D #6DBA2E
tetradic
#2E6DBA #BA2EB3 #BA7B2E #2EBA35
square
#2E6DBA #BA2EB3 #BA7B2E #2EBA35
split-complementary
#2E6DBA #BA352E #B3BA2E
monochromatic
#163358 #225089 #2E6DBA #518CD4 #82ADE0

Accessibility & contrast

On white

5.23
#2E6DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E6DBA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6DBA#FFFFFF#000000##FFFFFF
##2E6DBA1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.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: #2e6dba;
/* rgb */ color: rgb(46, 109, 186);
/* oklch */ color: oklch(53.4% 0.137 255.2);
Tailwind
colors: {
  custom: {
    50: '#7a96cf',
    500: '#2e6dba',
    950: '#000000',
  },
}
SCSS
$custom: #2e6dba;
$custom-light: #7a96cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6dba",
  "rgb": {
    "r": 46,
    "g": 109,
    "b": 186
  },
  "hsl": {
    "h": 213,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53368,
    "c": 0.13705,
    "h": 255.2
  },
  "luminance": 0.15063
}

Semantic roles & 50–950 ramp

primary
#2E6DBA
secondary
#C9A67B
accent
#9C44E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2E6DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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