#2E63AF#2E63AF

#2E63AF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.4% C 0.134 H 257.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2E63AF
RGBrgb(46, 99, 175)
HSLhsl(215, 58%, 43%)
HSVhsv(215, 74%, 69%)
CMYKcmyk(73.7%, 43.4%, 0%, 31.4%)
CIE-LABlab(42.15, 9.08, -45.65)
CIE-LCHlch(42.15, 46.54, 281.25°)
OKLaboklab(50.39% -0.0282 -0.1306)
OKLCHoklch(50.39% 0.134 257.8)
XYZxyz(13.3236, 12.5982, 42.2786)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E63AF #AF7A2E
analogous
#2EA3AF #2E63AF #392EAF
triadic
#2E63AF #AF2E63 #63AF2E
tetradic
#2E63AF #AF2EA3 #AF7A2E #2EAF39
square
#2E63AF #AF2EA3 #AF7A2E #2EAF39
split-complementary
#2E63AF #AF392E #A3AF2E
monochromatic
#152C4E #21487F #2E63AF #4B81D0 #7BA3DC

Accessibility & contrast

On white

5.97
#2E63AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2E63AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E63AF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E63AF#FFFFFF#000000##FFFFFF
##2E63AF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#265EAD
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e63af;
/* rgb */ color: rgb(46, 99, 175);
/* oklch */ color: oklch(50.4% 0.134 257.8);
Tailwind
colors: {
  custom: {
    50: '#788ec7',
    500: '#2e63af',
    950: '#000000',
  },
}
SCSS
$custom: #2e63af;
$custom-light: #788ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e63af",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 175
  },
  "hsl": {
    "h": 215.349,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.1336,
    "h": 257.8
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#2E63AF
secondary
#C5A474
accent
#A246E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E63AF

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

Preview Lab → · Contrast checker → · Palette generator →

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