#2E5E98#2E5E98

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

Color values

HEX#2E5E98
RGBrgb(46, 94, 152)
HSLhsl(213, 54%, 39%)
HSVhsv(213, 70%, 60%)
CMYKcmyk(69.7%, 38.2%, 0%, 40.4%)
CIE-LABlab(39.33, 3.65, -36.49)
CIE-LCHlch(39.33, 36.67, 275.70°)
OKLaboklab(47.76% -0.0287 -0.1038)
OKLCHoklch(47.76% 0.108 254.6)
XYZxyz(10.7948, 10.8521, 31.2254)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E98 #98682E
analogous
#2E9398 #2E5E98 #332E98
triadic
#2E5E98 #982E5E #5E982E
tetradic
#2E5E98 #982E93 #98682E #2E9833
square
#2E5E98 #982E93 #98682E #2E9833
split-complementary
#2E5E98 #98332E #93982E
monochromatic
#12243A #204169 #2E5E98 #3E7BC5 #6D9BD3

Accessibility & contrast

On white

6.62
#2E5E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5E98
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E98#FFFFFF#000000##FFFFFF
##2E5E981.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629A
Deuteranopia (green-blind)
#345897
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e5e98;
/* rgb */ color: rgb(46, 94, 152);
/* oklch */ color: oklch(47.8% 0.108 254.6);
Tailwind
colors: {
  custom: {
    50: '#738bb6',
    500: '#2e5e98',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e98;
$custom-light: #738bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e98",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 152
  },
  "hsl": {
    "h": 212.83,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.10768,
    "h": 254.6
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#2E5E98
secondary
#BA9568
accent
#9B4BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5E98

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

Preview Lab → · Contrast checker → · Palette generator →

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