#2F539B#2F539B

#2F539B is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.125 H 262.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2F539B
RGBrgb(47, 83, 155)
HSLhsl(220, 53%, 40%)
HSVhsv(220, 70%, 61%)
CMYKcmyk(69.7%, 46.5%, 0%, 39.2%)
CIE-LABlab(36.28, 12.09, -43.15)
CIE-LCHlch(36.28, 44.81, 285.65°)
OKLaboklab(45.47% -0.0162 -0.1235)
OKLCHoklch(45.47% 0.125 262.5)
XYZxyz(10.1798, 9.1564, 32.2349)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F539B #9B772F
analogous
#2F899B #2F539B #412F9B
triadic
#2F539B #9B2F53 #539B2F
tetradic
#2F539B #9B2F89 #9B772F #2F9B41
square
#2F539B #9B2F89 #9B772F #2F9B41
split-complementary
#2F539B #9B412F #899B2F
monochromatic
#13213D #213A6C #2F539B #426EC6 #7192D4

Accessibility & contrast

On white

7.42
#2F539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2F539B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F539B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F539B#FFFFFF#000000##FFFFFF
##2F539B1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9E
Deuteranopia (green-blind)
#1A519A
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f539b;
/* rgb */ color: rgb(47, 83, 155);
/* oklch */ color: oklch(45.5% 0.125 262.5);
Tailwind
colors: {
  custom: {
    50: '#7482b9',
    500: '#2f539b',
    950: '#000000',
  },
}
SCSS
$custom: #2f539b;
$custom-light: #7482b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f539b",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 220,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45473,
    "c": 0.12456,
    "h": 262.5
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#2F539B
secondary
#BBA06A
accent
#AC4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F539B

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

Preview Lab → · Contrast checker → · Palette generator →

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