#2E7ABB#2E7ABB

#2E7ABB is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.4% C 0.125 H 248.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2E7ABB
RGBrgb(46, 122, 187)
HSLhsl(208, 61%, 46%)
HSVhsv(208, 75%, 73%)
CMYKcmyk(75.4%, 34.8%, 0%, 26.7%)
CIE-LABlab(49.60, -0.76, -40.78)
CIE-LCHlch(49.60, 40.79, 268.94°)
OKLaboklab(56.42% -0.0466 -0.1159)
OKLCHoklch(56.42% 0.125 248.1)
XYZxyz(17.0525, 18.0858, 49.5963)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7ABB #BB6F2E
analogous
#2EBBB5 #2E7ABB #2E33BB
triadic
#2E7ABB #BB2E7A #7ABB2E
tetradic
#2E7ABB #B52EBB #BB6F2E #33BB2E
square
#2E7ABB #B52EBB #BB6F2E #33BB2E
split-complementary
#2E7ABB #BB2E33 #BBB52E
monochromatic
#163A59 #225A8A #2E7ABB #5298D4 #83B5E0

Accessibility & contrast

On white

4.55
#2E7ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2E7ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7ABB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7ABB#FFFFFF#000000##000000
##2E7ABB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e7abb;
/* rgb */ color: rgb(46, 122, 187);
/* oklch */ color: oklch(56.4% 0.125 248.1);
Tailwind
colors: {
  custom: {
    50: '#7aa0d0',
    500: '#2e7abb',
    950: '#000000',
  },
}
SCSS
$custom: #2e7abb;
$custom-light: #7aa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7abb",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 207.66,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.12493,
    "h": 248.1
  },
  "luminance": 0.18088
}

Semantic roles & 50–950 ramp

primary
#2E7ABB
secondary
#CA9F7B
accent
#8E44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2E7ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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