#2E5A8E#2E5A8E

#2E5A8E is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.2% C 0.098 H 254.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2E5A8E
RGBrgb(46, 90, 142)
HSLhsl(213, 51%, 37%)
HSVhsv(213, 68%, 56%)
CMYKcmyk(67.6%, 36.6%, 0%, 44.3%)
CIE-LABlab(37.56, 2.49, -33.26)
CIE-LCHlch(37.56, 33.36, 274.28°)
OKLaboklab(46.2% -0.0271 -0.0944)
OKLCHoklch(46.2% 0.098 254)
XYZxyz(9.6636, 9.8452, 26.9770)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A8E #8E622E
analogous
#2E8A8E #2E5A8E #322E8E
triadic
#2E5A8E #8E2E5A #5A8E2E
tetradic
#2E5A8E #8E2E8A #8E622E #2E8E32
square
#2E5A8E #8E2E8A #8E622E #2E8E32
split-complementary
#2E5A8E #8E322E #8A8E2E
monochromatic
#101F32 #1F3D60 #2E5A8E #3D77BC #6897CE

Accessibility & contrast

On white

7.07
#2E5A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2E5A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5A8E
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5A8E#FFFFFF#000000##FFFFFF
##2E5A8E1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D90
Deuteranopia (green-blind)
#36548D
Tritanopia (blue-blind)
#00666D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e5a8e;
/* rgb */ color: rgb(46, 90, 142);
/* oklch */ color: oklch(46.2% 0.098 254.0);
Tailwind
colors: {
  custom: {
    50: '#7188af',
    500: '#2e5a8e',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a8e;
$custom-light: #7188af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a8e",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 142
  },
  "hsl": {
    "h": 212.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46203,
    "c": 0.09823,
    "h": 254
  },
  "luminance": 0.09846
}

Semantic roles & 50–950 ramp

primary
#2E5A8E
secondary
#B58F63
accent
#9A4DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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