#2F528E#2F528E

#2F528E is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.107 H 260.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2F528E
RGBrgb(47, 82, 142)
HSLhsl(218, 50%, 37%)
HSVhsv(218, 67%, 56%)
CMYKcmyk(66.9%, 42.3%, 0%, 44.3%)
CIE-LABlab(35.18, 7.87, -37.04)
CIE-LCHlch(35.18, 37.86, 281.99°)
OKLaboklab(44.37% -0.0177 -0.1055)
OKLCHoklch(44.37% 0.107 260.5)
XYZxyz(9.0703, 8.5910, 26.7662)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F528E #8E6B2F
analogous
#2F828E #2F528E #3C2F8E
triadic
#2F528E #8E2F52 #528E2F
tetradic
#2F528E #8E2F82 #8E6B2F #2F8E3C
square
#2F528E #8E2F82 #8E6B2F #2F8E3C
split-complementary
#2F528E #8E3C2F #828E2F
monochromatic
#111D32 #203760 #2F528E #3E6DBC #6A8FCE

Accessibility & contrast

On white

7.73
#2F528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2F528E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F528E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F528E#FFFFFF#000000##FFFFFF
##2F528E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375790
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f528e;
/* rgb */ color: rgb(47, 82, 142);
/* oklch */ color: oklch(44.4% 0.107 260.5);
Tailwind
colors: {
  custom: {
    50: '#7282af',
    500: '#2f528e',
    950: '#000000',
  },
}
SCSS
$custom: #2f528e;
$custom-light: #7282af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f528e",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 217.895,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44366,
    "c": 0.10702,
    "h": 260.5
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#2F528E
secondary
#B59764
accent
#A64EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #2F528E

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

Preview Lab → · Contrast checker → · Palette generator →

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