#2E5D9D#2E5D9D

#2E5D9D is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.8% C 0.116 H 256.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2E5D9D
RGBrgb(46, 93, 157)
HSLhsl(215, 55%, 40%)
HSVhsv(215, 71%, 62%)
CMYKcmyk(70.7%, 40.8%, 0%, 38.4%)
CIE-LABlab(39.31, 6.16, -39.51)
CIE-LCHlch(39.31, 39.99, 278.86°)
OKLaboklab(47.84% -0.0264 -0.1127)
OKLCHoklch(47.84% 0.116 256.8)
XYZxyz(11.1247, 10.8427, 33.3983)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D9D #9D6E2E
analogous
#2E949D #2E5D9D #372E9D
triadic
#2E5D9D #9D2E5D #5D9D2E
tetradic
#2E5D9D #9D2E94 #9D6E2E #2E9D37
square
#2E5D9D #9D2E94 #9D6E2E #2E9D37
split-complementary
#2E5D9D #9D372E #949D2E
monochromatic
#12253E #20416E #2E5D9D #417AC7 #709BD5

Accessibility & contrast

On white

6.63
#2E5D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2E5D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5D9D
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D9D#FFFFFF#000000##FFFFFF
##2E5D9D1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F62A0
Deuteranopia (green-blind)
#2E589C
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e5d9d;
/* rgb */ color: rgb(46, 93, 157);
/* oklch */ color: oklch(47.8% 0.116 256.8);
Tailwind
colors: {
  custom: {
    50: '#748aba',
    500: '#2e5d9d',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d9d;
$custom-light: #748aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d9d",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 157
  },
  "hsl": {
    "h": 214.595,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.11572,
    "h": 256.8
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#2E5D9D
secondary
#BD9A6A
accent
#9F4ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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