#2F5693#2F5693

#2F5693 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.109 H 259.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2F5693
RGBrgb(47, 86, 147)
HSLhsl(217, 52%, 38%)
HSVhsv(217, 68%, 58%)
CMYKcmyk(68%, 41.5%, 0%, 42.4%)
CIE-LABlab(36.68, 7.11, -37.69)
CIE-LCHlch(36.68, 38.36, 280.69°)
OKLaboklab(45.62% -0.0208 -0.1074)
OKLCHoklch(45.62% 0.109 259)
XYZxyz(9.7647, 9.3655, 28.8912)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5693 #936C2F
analogous
#2F8893 #2F5693 #3A2F93
triadic
#2F5693 #932F56 #56932F
tetradic
#2F5693 #932F88 #936C2F #2F933A
square
#2F5693 #932F88 #936C2F #2F933A
split-complementary
#2F5693 #933A2F #88932F
monochromatic
#112036 #203B65 #2F5693 #3E71C1 #6C93D0

Accessibility & contrast

On white

7.31
#2F5693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2F5693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5693
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5693#FFFFFF#000000##FFFFFF
##2F56931.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5B95
Deuteranopia (green-blind)
#2B5292
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5693;
/* rgb */ color: rgb(47, 86, 147);
/* oklch */ color: oklch(45.6% 0.109 259.0);
Tailwind
colors: {
  custom: {
    50: '#7385b3',
    500: '#2f5693',
    950: '#000000',
  },
}
SCSS
$custom: #2f5693;
$custom-light: #7385b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5693",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 216.6,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45619,
    "c": 0.10941,
    "h": 259
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F5693

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

Preview Lab → · Contrast checker → · Palette generator →

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