#2F5EAE#2F5EAE

#2F5EAE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.2% C 0.138 H 260.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2F5EAE
RGBrgb(47, 94, 174)
HSLhsl(218, 57%, 43%)
HSVhsv(218, 73%, 68%)
CMYKcmyk(73%, 46%, 0%, 31.8%)
CIE-LABlab(40.68, 12.07, -47.42)
CIE-LCHlch(40.68, 48.93, 284.28°)
OKLaboklab(49.24% -0.0232 -0.1359)
OKLCHoklch(49.24% 0.138 260.3)
XYZxyz(12.8122, 11.6644, 41.6124)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5EAE #AE7F2F
analogous
#2F9DAE #2F5EAE #3F2FAE
triadic
#2F5EAE #AE2F5E #5EAE2F
tetradic
#2F5EAE #AE2F9D #AE7F2F #2FAE3F
square
#2F5EAE #AE2F9D #AE7F2F #2FAE3F
split-complementary
#2F5EAE #AE3F2F #9DAE2F
monochromatic
#152A4E #22447E #2F5EAE #4C7CCF #7C9FDC

Accessibility & contrast

On white

6.30
#2F5EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F5EAE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5EAE#FFFFFF#000000##FFFFFF
##2F5EAE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#1A5AAC
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f5eae;
/* rgb */ color: rgb(47, 94, 174);
/* oklch */ color: oklch(49.2% 0.138 260.3);
Tailwind
colors: {
  custom: {
    50: '#788bc7',
    500: '#2f5eae',
    950: '#000000',
  },
}
SCSS
$custom: #2f5eae;
$custom-light: #788bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5eae",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 217.795,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49242,
    "c": 0.13782,
    "h": 260.3
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#2F5EAE
secondary
#C4A775
accent
#A847E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F5EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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