#2F5491#2F5491

#2F5491 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.109 H 259.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2F5491
RGBrgb(47, 84, 145)
HSLhsl(217, 51%, 38%)
HSVhsv(217, 68%, 57%)
CMYKcmyk(67.6%, 42.1%, 0%, 43.1%)
CIE-LABlab(35.96, 7.67, -37.62)
CIE-LCHlch(35.96, 38.40, 281.53°)
OKLaboklab(45.03% -0.0192 -0.1072)
OKLCHoklch(45.03% 0.109 259.9)
XYZxyz(9.4516, 8.9884, 28.0194)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5491 #916C2F
analogous
#2F8591 #2F5491 #3B2F91
triadic
#2F5491 #912F54 #54912F
tetradic
#2F5491 #912F85 #916C2F #2F913B
square
#2F5491 #912F85 #916C2F #2F913B
split-complementary
#2F5491 #913B2F #85912F
monochromatic
#111E35 #203963 #2F5491 #3E6FBF #6B91CF

Accessibility & contrast

On white

7.51
#2F5491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2F5491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5491
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5491#FFFFFF#000000##FFFFFF
##2F54911.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385993
Deuteranopia (green-blind)
#295090
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5491;
/* rgb */ color: rgb(47, 84, 145);
/* oklch */ color: oklch(45.0% 0.109 259.9);
Tailwind
colors: {
  custom: {
    50: '#7283b1',
    500: '#2f5491',
    950: '#000000',
  },
}
SCSS
$custom: #2f5491;
$custom-light: #7283b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5491",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 145
  },
  "hsl": {
    "h": 217.347,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45025,
    "c": 0.10894,
    "h": 259.9
  },
  "luminance": 0.08989
}

Semantic roles & 50–950 ramp

primary
#2F5491
secondary
#B69865
accent
#A54DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5491

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

Preview Lab → · Contrast checker → · Palette generator →

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