#2F5494#2F5494

#2F5494 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.113 H 260.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2F5494
RGBrgb(47, 84, 148)
HSLhsl(218, 52%, 38%)
HSVhsv(218, 68%, 58%)
CMYKcmyk(68.2%, 43.2%, 0%, 42%)
CIE-LABlab(36.14, 8.80, -39.15)
CIE-LCHlch(36.14, 40.13, 282.66°)
OKLaboklab(45.22% -0.0185 -0.1117)
OKLCHoklch(45.22% 0.113 260.6)
XYZxyz(9.6860, 9.0821, 29.2538)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5494 #946F2F
analogous
#2F8694 #2F5494 #3C2F94
triadic
#2F5494 #942F54 #54942F
tetradic
#2F5494 #942F86 #946F2F #2F943C
square
#2F5494 #942F86 #946F2F #2F943C
split-complementary
#2F5494 #943C2F #86942F
monochromatic
#111F37 #203A66 #2F5494 #3E6FC2 #6D91D1

Accessibility & contrast

On white

7.46
#2F5494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2F5494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5494
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5494#FFFFFF#000000##FFFFFF
##2F54941.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A96
Deuteranopia (green-blind)
#265193
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5494;
/* rgb */ color: rgb(47, 84, 148);
/* oklch */ color: oklch(45.2% 0.113 260.6);
Tailwind
colors: {
  custom: {
    50: '#7383b4',
    500: '#2f5494',
    950: '#000000',
  },
}
SCSS
$custom: #2f5494;
$custom-light: #7383b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5494",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 148
  },
  "hsl": {
    "h": 218.02,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45223,
    "c": 0.11325,
    "h": 260.6
  },
  "luminance": 0.09083
}

Semantic roles & 50–950 ramp

primary
#2F5494
secondary
#B89A67
accent
#A74DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5494

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

Preview Lab → · Contrast checker → · Palette generator →

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