#2F5EE2#2F5EE2

#2F5EE2 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.2% C 0.207 H 265.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2F5EE2
RGBrgb(47, 94, 226)
HSLhsl(224, 76%, 54%)
HSVhsv(224, 79%, 89%)
CMYKcmyk(79.2%, 58.4%, 0%, 11.4%)
CIE-LABlab(44.37, 31.60, -71.48)
CIE-LCHlch(44.37, 78.15, 293.85°)
OKLaboklab(53.22% -0.018 -0.2066)
OKLCHoklch(53.22% 0.207 265)
XYZxyz(18.8976, 14.0985, 73.6621)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5EE2 #E2B32F
analogous
#2FB7E2 #2F5EE2 #592FE2
triadic
#2F5EE2 #E22F5E #5EE22F
tetradic
#2F5EE2 #E22FB7 #E2B32F #2FE259
square
#2F5EE2 #E22FB7 #E2B32F #2FE259
split-complementary
#2F5EE2 #E2592F #B7E22F
monochromatic
#123084 #1A44BA #2F5EE2 #6588E9 #9AB1F1

Accessibility & contrast

On white

5.50
#2F5EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2F5EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5EE2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5EE2#FFFFFF#000000##FFFFFF
##2F5EE21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f5ee2;
/* rgb */ color: rgb(47, 94, 226);
/* oklch */ color: oklch(53.2% 0.207 265.0);
Tailwind
colors: {
  custom: {
    50: '#848bec',
    500: '#2f5ee2',
    950: '#000000',
  },
}
SCSS
$custom: #2f5ee2;
$custom-light: #848bec;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5ee2",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 224.246,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.2074,
    "h": 265
  },
  "luminance": 0.14101
}

Semantic roles & 50–950 ramp

primary
#2F5EE2
secondary
#DDC990
accent
#C136F2
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #2F5EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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