#2F589D#2F589D

#2F589D is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.121 H 260.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2F589D
RGBrgb(47, 88, 157)
HSLhsl(218, 54%, 40%)
HSVhsv(218, 70%, 62%)
CMYKcmyk(70.1%, 43.9%, 0%, 38.4%)
CIE-LABlab(37.87, 9.56, -41.81)
CIE-LCHlch(37.87, 42.89, 282.88°)
OKLaboklab(46.74% -0.0207 -0.1195)
OKLCHoklch(46.74% 0.121 260.2)
XYZxyz(10.7456, 10.0170, 33.2589)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F589D #9D742F
analogous
#2F8F9D #2F589D #3D2F9D
triadic
#2F589D #9D2F58 #589D2F
tetradic
#2F589D #9D2F8F #9D742F #2F9D3D
square
#2F589D #9D2F8F #9D742F #2F9D3D
split-complementary
#2F589D #9D3D2F #8F9D2F
monochromatic
#13233F #213E6E #2F589D #4374C7 #7297D5

Accessibility & contrast

On white

6.99
#2F589D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2F589D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F589D
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F589D#FFFFFF#000000##FFFFFF
##2F589D1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#24549C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f589d;
/* rgb */ color: rgb(47, 88, 157);
/* oklch */ color: oklch(46.7% 0.121 260.2);
Tailwind
colors: {
  custom: {
    50: '#7586ba',
    500: '#2f589d',
    950: '#000000',
  },
}
SCSS
$custom: #2f589d;
$custom-light: #7586ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f589d",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 217.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.46738,
    "c": 0.12125,
    "h": 260.2
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#2F589D
secondary
#BC9E6B
accent
#A74BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F589D

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

Preview Lab → · Contrast checker → · Palette generator →

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