#2E5E9C#2E5E9C

#2E5E9C is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.113 H 255.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2E5E9C
RGBrgb(46, 94, 156)
HSLhsl(214, 54%, 40%)
HSVhsv(214, 71%, 61%)
CMYKcmyk(70.5%, 39.7%, 0%, 38.8%)
CIE-LABlab(39.56, 5.14, -38.53)
CIE-LCHlch(39.56, 38.87, 277.60°)
OKLaboklab(48.01% -0.0277 -0.1098)
OKLCHoklch(48.01% 0.113 255.9)
XYZxyz(11.1280, 10.9854, 32.9800)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E9C #9C6C2E
analogous
#2E959C #2E5E9C #352E9C
triadic
#2E5E9C #9C2E5E #5E9C2E
tetradic
#2E5E9C #9C2E95 #9C6C2E #2E9C35
square
#2E5E9C #9C2E95 #9C6C2E #2E9C35
split-complementary
#2E5E9C #9C352E #959C2E
monochromatic
#12253D #20426D #2E5E9C #407BC7 #709CD5

Accessibility & contrast

On white

6.57
#2E5E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2E5E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5E9C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E9C#FFFFFF#000000##FFFFFF
##2E5E9C1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639E
Deuteranopia (green-blind)
#31589B
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e5e9c;
/* rgb */ color: rgb(46, 94, 156);
/* oklch */ color: oklch(48.0% 0.113 255.9);
Tailwind
colors: {
  custom: {
    50: '#748bb9',
    500: '#2e5e9c',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e9c;
$custom-light: #748bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e9c",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 156
  },
  "hsl": {
    "h": 213.818,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48012,
    "c": 0.11319,
    "h": 255.9
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#2E5E9C
secondary
#BC986A
accent
#9D4ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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