#2F589F#2F589F

#2F589F is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.124 H 260.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2F589F
RGBrgb(47, 88, 159)
HSLhsl(218, 54%, 40%)
HSVhsv(218, 70%, 62%)
CMYKcmyk(70.4%, 44.7%, 0%, 37.6%)
CIE-LABlab(38.00, 10.31, -42.81)
CIE-LCHlch(38.00, 44.03, 283.54°)
OKLaboklab(46.87% -0.0203 -0.1224)
OKLCHoklch(46.87% 0.124 260.6)
XYZxyz(10.9178, 10.0859, 34.1656)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F589F #9F762F
analogous
#2F909F #2F589F #3E2F9F
triadic
#2F589F #9F2F58 #589F2F
tetradic
#2F589F #9F2F90 #9F762F #2F9F3E
square
#2F589F #9F2F90 #9F762F #2F9F3E
split-complementary
#2F589F #9F3E2F #909F2F
monochromatic
#132441 #213E70 #2F589F #4474C8 #7397D6

Accessibility & contrast

On white

6.96
#2F589F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2F589F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F589F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F589F#FFFFFF#000000##FFFFFF
##2F589F1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#21559E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f589f;
/* rgb */ color: rgb(47, 88, 159);
/* oklch */ color: oklch(46.9% 0.124 260.6);
Tailwind
colors: {
  custom: {
    50: '#7586bc',
    500: '#2f589f',
    950: '#000000',
  },
}
SCSS
$custom: #2f589f;
$custom-light: #7586bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f589f",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 218.036,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46873,
    "c": 0.12408,
    "h": 260.6
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#2F589F
secondary
#BDA06D
accent
#A84ADE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F589F

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

Preview Lab → · Contrast checker → · Palette generator →

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