#2F539A#2F539A

#2F539A is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.123 H 262.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2F539A
RGBrgb(47, 83, 154)
HSLhsl(220, 53%, 39%)
HSVhsv(220, 69%, 60%)
CMYKcmyk(69.5%, 46.1%, 0%, 39.6%)
CIE-LABlab(36.22, 11.71, -42.65)
CIE-LCHlch(36.22, 44.23, 285.35°)
OKLaboklab(45.4% -0.0163 -0.122)
OKLCHoklch(45.4% 0.123 262.4)
XYZxyz(10.0962, 9.1229, 31.7944)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F539A #9A762F
analogous
#2F899A #2F539A #412F9A
triadic
#2F539A #9A2F53 #539A2F
tetradic
#2F539A #9A2F89 #9A762F #2F9A41
square
#2F539A #9A2F89 #9A762F #2F9A41
split-complementary
#2F539A #9A412F #899A2F
monochromatic
#12203C #213A6B #2F539A #416EC5 #7091D3

Accessibility & contrast

On white

7.43
#2F539A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F539A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F539A#FFFFFF#000000##FFFFFF
##2F539A1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9D
Deuteranopia (green-blind)
#1B5199
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f539a;
/* rgb */ color: rgb(47, 83, 154);
/* oklch */ color: oklch(45.4% 0.123 262.4);
Tailwind
colors: {
  custom: {
    50: '#7482b8',
    500: '#2f539a',
    950: '#000000',
  },
}
SCSS
$custom: #2f539a;
$custom-light: #7482b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f539a",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 219.813,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45403,
    "c": 0.12312,
    "h": 262.4
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F539A

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

Preview Lab → · Contrast checker → · Palette generator →

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