#2F5AAE#2F5AAE

#2F5AAE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.143 H 262.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2F5AAE
RGBrgb(47, 90, 174)
HSLhsl(220, 57%, 43%)
HSVhsv(220, 73%, 68%)
CMYKcmyk(73%, 48.3%, 0%, 31.8%)
CIE-LABlab(39.53, 14.67, -49.26)
CIE-LCHlch(39.53, 51.40, 286.59°)
OKLaboklab(48.36% -0.0196 -0.1413)
OKLCHoklch(48.36% 0.143 262.1)
XYZxyz(12.4657, 10.9713, 41.4969)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5AAE #AE832F
analogous
#2F99AE #2F5AAE #432FAE
triadic
#2F5AAE #AE2F5A #5AAE2F
tetradic
#2F5AAE #AE2F99 #AE832F #2FAE43
square
#2F5AAE #AE2F99 #AE832F #2FAE43
split-complementary
#2F5AAE #AE432F #99AE2F
monochromatic
#15284E #22417E #2F5AAE #4C78CF #7C9CDC

Accessibility & contrast

On white

6.57
#2F5AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2F5AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5AAE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5AAE#FFFFFF#000000##FFFFFF
##2F5AAE1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B1
Deuteranopia (green-blind)
#0658AC
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5aae;
/* rgb */ color: rgb(47, 90, 174);
/* oklch */ color: oklch(48.4% 0.143 262.1);
Tailwind
colors: {
  custom: {
    50: '#7888c7',
    500: '#2f5aae',
    950: '#000000',
  },
}
SCSS
$custom: #2f5aae;
$custom-light: #7888c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5aae",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 219.685,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48362,
    "c": 0.14269,
    "h": 262.1
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#2F5AAE
secondary
#C4A975
accent
#AD47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F5AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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