#2E5F9B#2E5F9B

#2E5F9B is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.2% C 0.111 H 254.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2E5F9B
RGBrgb(46, 95, 155)
HSLhsl(213, 54%, 39%)
HSVhsv(213, 70%, 61%)
CMYKcmyk(70.3%, 38.7%, 0%, 39.2%)
CIE-LABlab(39.80, 4.12, -37.54)
CIE-LCHlch(39.80, 37.77, 276.27°)
OKLaboklab(48.18% -0.0289 -0.1069)
OKLCHoklch(48.18% 0.111 254.9)
XYZxyz(11.1331, 11.1307, 32.5657)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F9B #9B6A2E
analogous
#2E969B #2E5F9B #342E9B
triadic
#2E5F9B #9B2E5F #5F9B2E
tetradic
#2E5F9B #9B2E96 #9B6A2E #2E9B34
square
#2E5F9B #9B2E96 #9B6A2E #2E9B34
split-complementary
#2E5F9B #9B342E #969B2E
monochromatic
#12253D #20426C #2E5F9B #407CC6 #6F9DD4

Accessibility & contrast

On white

6.51
#2E5F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2E5F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5F9B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F9B#FFFFFF#000000##FFFFFF
##2E5F9B1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44639D
Deuteranopia (green-blind)
#34599A
Tritanopia (blue-blind)
#006D75
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5f9b;
/* rgb */ color: rgb(46, 95, 155);
/* oklch */ color: oklch(48.2% 0.111 254.9);
Tailwind
colors: {
  custom: {
    50: '#748cb9',
    500: '#2e5f9b',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f9b;
$custom-light: #748cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f9b",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 155
  },
  "hsl": {
    "h": 213.028,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48184,
    "c": 0.11071,
    "h": 254.9
  },
  "luminance": 0.11132
}

Semantic roles & 50–950 ramp

primary
#2E5F9B
secondary
#BC9769
accent
#9B4ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2E5F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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