#2E55AF#2E55AF

#2E55AF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.151 H 263.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2E55AF
RGBrgb(46, 85, 175)
HSLhsl(222, 58%, 43%)
HSVhsv(222, 74%, 69%)
CMYKcmyk(73.7%, 51.4%, 0%, 31.4%)
CIE-LABlab(38.15, 18.20, -52.08)
CIE-LCHlch(38.15, 55.17, 289.26°)
OKLaboklab(47.32% -0.016 -0.1498)
OKLCHoklch(47.32% 0.151 263.9)
XYZxyz(12.1103, 10.1717, 41.8742)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55AF #AF882E
analogous
#2E95AF #2E55AF #472EAF
triadic
#2E55AF #AF2E55 #55AF2E
tetradic
#2E55AF #AF2E95 #AF882E #2EAF47
square
#2E55AF #AF2E95 #AF882E #2EAF47
split-complementary
#2E55AF #AF472E #95AF2E
monochromatic
#15264E #213D7F #2E55AF #4B73D0 #7B98DC

Accessibility & contrast

On white

6.92
#2E55AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2E55AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E55AF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55AF#FFFFFF#000000##FFFFFF
##2E55AF1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e55af;
/* rgb */ color: rgb(46, 85, 175);
/* oklch */ color: oklch(47.3% 0.151 263.9);
Tailwind
colors: {
  custom: {
    50: '#7884c7',
    500: '#2e55af',
    950: '#000000',
  },
}
SCSS
$custom: #2e55af;
$custom-light: #7884c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55af",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 221.86,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.15061,
    "h": 263.9
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#2E55AF
secondary
#C5AC74
accent
#B346E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E55AF

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

Preview Lab → · Contrast checker → · Palette generator →

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