#2E5F9D#2E5F9D

#2E5F9D is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.3% C 0.113 H 255.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2E5F9D
RGBrgb(46, 95, 157)
HSLhsl(214, 55%, 40%)
HSVhsv(214, 71%, 62%)
CMYKcmyk(70.7%, 39.5%, 0%, 38.4%)
CIE-LABlab(39.91, 4.87, -38.56)
CIE-LCHlch(39.91, 38.87, 277.20°)
OKLaboklab(48.31% -0.0284 -0.1098)
OKLCHoklch(48.31% 0.113 255.5)
XYZxyz(11.3025, 11.1984, 33.4576)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F9D #9D6C2E
analogous
#2E969D #2E5F9D #352E9D
triadic
#2E5F9D #9D2E5F #5F9D2E
tetradic
#2E5F9D #9D2E96 #9D6C2E #2E9D35
square
#2E5F9D #9D2E96 #9D6C2E #2E9D35
split-complementary
#2E5F9D #9D352E #969D2E
monochromatic
#12263E #20426E #2E5F9D #417CC7 #709DD5

Accessibility & contrast

On white

6.48
#2E5F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2E5F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5F9D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F9D#FFFFFF#000000##FFFFFF
##2E5F9D1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43649F
Deuteranopia (green-blind)
#32599C
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5f9d;
/* rgb */ color: rgb(46, 95, 157);
/* oklch */ color: oklch(48.3% 0.113 255.5);
Tailwind
colors: {
  custom: {
    50: '#748cba',
    500: '#2e5f9d',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f9d;
$custom-light: #748cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f9d",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 157
  },
  "hsl": {
    "h": 213.514,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48308,
    "c": 0.11345,
    "h": 255.5
  },
  "luminance": 0.112
}

Semantic roles & 50–950 ramp

primary
#2E5F9D
secondary
#BD986A
accent
#9D4ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2E5F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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