#2F589E#2F589E

#2F589E is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.8% C 0.123 H 260.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2F589E
RGBrgb(47, 88, 158)
HSLhsl(218, 54%, 40%)
HSVhsv(218, 70%, 62%)
CMYKcmyk(70.3%, 44.3%, 0%, 38%)
CIE-LABlab(37.93, 9.94, -42.31)
CIE-LCHlch(37.93, 43.46, 283.21°)
OKLaboklab(46.81% -0.0205 -0.1209)
OKLCHoklch(46.81% 0.123 260.4)
XYZxyz(10.8314, 10.0513, 33.7104)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F589E #9E752F
analogous
#2F8F9E #2F589E #3E2F9E
triadic
#2F589E #9E2F58 #589E2F
tetradic
#2F589E #9E2F8F #9E752F #2F9E3E
square
#2F589E #9E2F8F #9E752F #2F9E3E
split-complementary
#2F589E #9E3E2F #8F9E2F
monochromatic
#132340 #213E6F #2F589E #4374C7 #7297D5

Accessibility & contrast

On white

6.98
#2F589E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2F589E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F589E
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F589E#FFFFFF#000000##FFFFFF
##2F589E1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#23559D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f589e;
/* rgb */ color: rgb(47, 88, 158);
/* oklch */ color: oklch(46.8% 0.123 260.4);
Tailwind
colors: {
  custom: {
    50: '#7586bb',
    500: '#2f589e',
    950: '#000000',
  },
}
SCSS
$custom: #2f589e;
$custom-light: #7586bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f589e",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 158
  },
  "hsl": {
    "h": 217.838,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46805,
    "c": 0.12267,
    "h": 260.4
  },
  "luminance": 0.10052
}

Semantic roles & 50–950 ramp

primary
#2F589E
secondary
#BD9F6C
accent
#A74ADE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F589E

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

Preview Lab → · Contrast checker → · Palette generator →

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