#2F539C#2F539C

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

Color values

HEX#2F539C
RGBrgb(47, 83, 156)
HSLhsl(220, 54%, 40%)
HSVhsv(220, 70%, 61%)
CMYKcmyk(69.9%, 46.8%, 0%, 38.8%)
CIE-LABlab(36.35, 12.47, -43.65)
CIE-LCHlch(36.35, 45.40, 285.94°)
OKLaboklab(45.54% -0.016 -0.125)
OKLCHoklch(45.54% 0.126 262.7)
XYZxyz(10.2642, 9.1901, 32.6790)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F539C #9C782F
analogous
#2F8A9C #2F539C #412F9C
triadic
#2F539C #9C2F53 #539C2F
tetradic
#2F539C #9C2F8A #9C782F #2F9C41
square
#2F539C #9C2F8A #9C782F #2F9C41
split-complementary
#2F539C #9C412F #8A9C2F
monochromatic
#13213E #213A6D #2F539C #426EC6 #7192D4

Accessibility & contrast

On white

7.40
#2F539C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2F539C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F539C
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F539C#FFFFFF#000000##FFFFFF
##2F539C1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5B9F
Deuteranopia (green-blind)
#18519B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f539c;
/* rgb */ color: rgb(47, 83, 156);
/* oklch */ color: oklch(45.5% 0.126 262.7);
Tailwind
colors: {
  custom: {
    50: '#7582ba',
    500: '#2f539c',
    950: '#000000',
  },
}
SCSS
$custom: #2f539c;
$custom-light: #7582ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f539c",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 220.183,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.12598,
    "h": 262.7
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

primary
#2F539C
secondary
#BCA16B
accent
#AD4BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F539C

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

Preview Lab → · Contrast checker → · Palette generator →

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