#2E55BC#2E55BC

#2E55BC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.168 H 265.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2E55BC
RGBrgb(46, 85, 188)
HSLhsl(224, 61%, 46%)
HSVhsv(224, 76%, 74%)
CMYKcmyk(75.5%, 54.8%, 0%, 26.3%)
CIE-LABlab(39.08, 23.12, -58.22)
CIE-LCHlch(39.08, 62.64, 291.66°)
OKLaboklab(48.32% -0.0147 -0.1678)
OKLCHoklch(48.32% 0.168 265)
XYZxyz(13.4491, 10.7072, 48.9251)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55BC #BC952E
analogous
#2E9CBC #2E55BC #4E2EBC
triadic
#2E55BC #BC2E55 #55BC2E
tetradic
#2E55BC #BC2E9C #BC952E #2EBC4E
square
#2E55BC #BC2E9C #BC952E #2EBC4E
split-complementary
#2E55BC #BC4E2E #9CBC2E
monochromatic
#16295A #223F8B #2E55BC #5276D5 #849DE1

Accessibility & contrast

On white

6.68
#2E55BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2E55BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E55BC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55BC#FFFFFF#000000##FFFFFF
##2E55BC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e55bc;
/* rgb */ color: rgb(46, 85, 188);
/* oklch */ color: oklch(48.3% 0.168 265.0);
Tailwind
colors: {
  custom: {
    50: '#7b84d1',
    500: '#2e55bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e55bc;
$custom-light: #7b84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55bc",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 223.521,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4832,
    "c": 0.16845,
    "h": 265
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#2E55BC
secondary
#CAB57C
accent
#B844E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E55BC

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

Preview Lab → · Contrast checker → · Palette generator →

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