#2E66AB#2E66AB

#2E66AB is a mid, vivid cyan. Relative luminance 0.130; OKLCH L 50.8% C 0.125 H 255.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2E66AB
RGBrgb(46, 102, 171)
HSLhsl(213, 58%, 43%)
HSVhsv(213, 73%, 67%)
CMYKcmyk(73.1%, 40.4%, 0%, 32.9%)
CIE-LABlab(42.80, 5.67, -42.27)
CIE-LCHlch(42.80, 42.64, 277.63°)
OKLaboklab(50.81% -0.0319 -0.1206)
OKLCHoklch(50.81% 0.125 255.2)
XYZxyz(13.2261, 13.0224, 40.3367)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E66AB #AB732E
analogous
#2EA5AB #2E66AB #342EAB
triadic
#2E66AB #AB2E66 #66AB2E
tetradic
#2E66AB #AB2EA5 #AB732E #2EAB34
square
#2E66AB #AB2EA5 #AB732E #2EAB34
split-complementary
#2E66AB #AB342E #A5AB2E
monochromatic
#142C4B #21497B #2E66AB #4884CE #79A5DB

Accessibility & contrast

On white

5.83
#2E66AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2E66AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E66AB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E66AB#FFFFFF#000000##FFFFFF
##2E66AB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466BAE
Deuteranopia (green-blind)
#3260AA
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e66ab;
/* rgb */ color: rgb(46, 102, 171);
/* oklch */ color: oklch(50.8% 0.125 255.2);
Tailwind
colors: {
  custom: {
    50: '#7791c4',
    500: '#2e66ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e66ab;
$custom-light: #7791c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e66ab",
  "rgb": {
    "r": 46,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 213.12,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50814,
    "c": 0.12474,
    "h": 255.2
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#2E66AB
secondary
#C39F72
accent
#9C47E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E66AB

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

Preview Lab → · Contrast checker → · Palette generator →

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