#2F5EA0#2F5EA0

#2F5EA0 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.3% C 0.118 H 257.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2F5EA0
RGBrgb(47, 94, 160)
HSLhsl(215, 55%, 41%)
HSVhsv(215, 71%, 63%)
CMYKcmyk(70.6%, 41.3%, 0%, 37.3%)
CIE-LABlab(39.83, 6.80, -40.48)
CIE-LCHlch(39.83, 41.05, 279.53°)
OKLaboklab(48.31% -0.026 -0.1155)
OKLCHoklch(48.31% 0.118 257.3)
XYZxyz(11.5179, 11.1466, 34.7954)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5EA0 #A0712F
analogous
#2F96A0 #2F5EA0 #382FA0
triadic
#2F5EA0 #A02F5E #5EA02F
tetradic
#2F5EA0 #A02F96 #A0712F #2FA038
square
#2F5EA0 #A02F96 #A0712F #2FA038
split-complementary
#2F5EA0 #A0382F #96A02F
monochromatic
#132641 #214271 #2F5EA0 #447BC8 #739CD6

Accessibility & contrast

On white

6.50
#2F5EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2F5EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5EA0
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5EA0#FFFFFF#000000##FFFFFF
##2F5EA01.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A3
Deuteranopia (green-blind)
#2D599F
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f5ea0;
/* rgb */ color: rgb(47, 94, 160);
/* oklch */ color: oklch(48.3% 0.118 257.3);
Tailwind
colors: {
  custom: {
    50: '#758bbc',
    500: '#2f5ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2f5ea0;
$custom-light: #758bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5ea0",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 215.044,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48308,
    "c": 0.11837,
    "h": 257.3
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#2F5EA0
secondary
#BE9C6D
accent
#A04ADE
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F5EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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