#2E5F91#2E5F91

#2E5F91 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.6% C 0.097 H 251.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2E5F91
RGBrgb(46, 95, 145)
HSLhsl(210, 52%, 37%)
HSVhsv(210, 68%, 57%)
CMYKcmyk(68.3%, 34.5%, 0%, 43.1%)
CIE-LABlab(39.26, 0.42, -32.40)
CIE-LCHlch(39.26, 32.41, 270.75°)
OKLaboklab(47.58% -0.0316 -0.0918)
OKLCHoklch(47.58% 0.097 251)
XYZxyz(10.3279, 10.8085, 28.3245)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F91 #91602E
analogous
#2E9091 #2E5F91 #2F2E91
triadic
#2E5F91 #912E5F #5F912E
tetradic
#2E5F91 #912E90 #91602E #2E912F
square
#2E5F91 #912E90 #91602E #2E912F
split-complementary
#2E5F91 #912F2E #90912E
monochromatic
#112234 #1F4163 #2E5F91 #3D7DBF #6A9CD0

Accessibility & contrast

On white

6.64
#2E5F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2E5F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5F91
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F91#FFFFFF#000000##FFFFFF
##2E5F911.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#3B5890
Tritanopia (blue-blind)
#006B71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5f91;
/* rgb */ color: rgb(46, 95, 145);
/* oklch */ color: oklch(47.6% 0.097 251.0);
Tailwind
colors: {
  custom: {
    50: '#728cb1',
    500: '#2e5f91',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f91;
$custom-light: #728cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f91",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 145
  },
  "hsl": {
    "h": 210.303,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47581,
    "c": 0.09713,
    "h": 251
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#2E5F91
secondary
#B78E64
accent
#954DDB
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2E5F91

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

Preview Lab → · Contrast checker → · Palette generator →

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