#2F5EAD#2F5EAD

#2F5EAD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.136 H 260.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2F5EAD
RGBrgb(47, 94, 173)
HSLhsl(218, 57%, 43%)
HSVhsv(218, 73%, 68%)
CMYKcmyk(72.8%, 45.7%, 0%, 32.2%)
CIE-LABlab(40.61, 11.69, -46.93)
CIE-LCHlch(40.61, 48.36, 283.99°)
OKLaboklab(49.17% -0.0233 -0.1344)
OKLCHoklch(49.17% 0.136 260.1)
XYZxyz(12.7151, 11.6255, 41.1009)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5EAD #AD7E2F
analogous
#2F9DAD #2F5EAD #3F2FAD
triadic
#2F5EAD #AD2F5E #5EAD2F
tetradic
#2F5EAD #AD2F9D #AD7E2F #2FAD3F
square
#2F5EAD #AD2F9D #AD7E2F #2FAD3F
split-complementary
#2F5EAD #AD3F2F #9DAD2F
monochromatic
#152A4D #22447D #2F5EAD #4B7CCE #7B9FDB

Accessibility & contrast

On white

6.32
#2F5EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2F5EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5EAD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5EAD#FFFFFF#000000##FFFFFF
##2F5EAD1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666B0
Deuteranopia (green-blind)
#1C5AAB
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f5ead;
/* rgb */ color: rgb(47, 94, 173);
/* oklch */ color: oklch(49.2% 0.136 260.1);
Tailwind
colors: {
  custom: {
    50: '#788bc6',
    500: '#2f5ead',
    950: '#000000',
  },
}
SCSS
$custom: #2f5ead;
$custom-light: #788bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5ead",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 173
  },
  "hsl": {
    "h": 217.619,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.13643,
    "h": 260.1
  },
  "luminance": 0.11627
}

Semantic roles & 50–950 ramp

primary
#2F5EAD
secondary
#C4A674
accent
#A747E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F5EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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