#2F5694#2F5694

#2F5694 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.111 H 259.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2F5694
RGBrgb(47, 86, 148)
HSLhsl(217, 52%, 38%)
HSVhsv(217, 68%, 58%)
CMYKcmyk(68.2%, 41.9%, 0%, 42%)
CIE-LABlab(36.74, 7.49, -38.20)
CIE-LCHlch(36.74, 38.93, 281.09°)
OKLaboklab(45.68% -0.0206 -0.1089)
OKLCHoklch(45.68% 0.111 259.3)
XYZxyz(9.8435, 9.3971, 29.3063)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5694 #946D2F
analogous
#2F8894 #2F5694 #3A2F94
triadic
#2F5694 #942F56 #56942F
tetradic
#2F5694 #942F88 #946D2F #2F943A
square
#2F5694 #942F88 #946D2F #2F943A
split-complementary
#2F5694 #943A2F #88942F
monochromatic
#112037 #203B66 #2F5694 #3E71C2 #6D93D1

Accessibility & contrast

On white

7.29
#2F5694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2F5694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5694
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5694#FFFFFF#000000##FFFFFF
##2F56941.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5B96
Deuteranopia (green-blind)
#2A5293
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5694;
/* rgb */ color: rgb(47, 86, 148);
/* oklch */ color: oklch(45.7% 0.111 259.3);
Tailwind
colors: {
  custom: {
    50: '#7385b4',
    500: '#2f5694',
    950: '#000000',
  },
}
SCSS
$custom: #2f5694;
$custom-light: #7385b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5694",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 148
  },
  "hsl": {
    "h": 216.832,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45684,
    "c": 0.11084,
    "h": 259.3
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#2F5694
secondary
#B89967
accent
#A44DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5694

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

Preview Lab → · Contrast checker → · Palette generator →

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