#2F589B#2F589B

#2F589B is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.6% C 0.118 H 259.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2F589B
RGBrgb(47, 88, 155)
HSLhsl(217, 53%, 40%)
HSVhsv(217, 70%, 61%)
CMYKcmyk(69.7%, 43.2%, 0%, 39.2%)
CIE-LABlab(37.75, 8.81, -40.80)
CIE-LCHlch(37.75, 41.74, 282.18°)
OKLaboklab(46.6% -0.0211 -0.1165)
OKLCHoklch(46.6% 0.118 259.7)
XYZxyz(10.5763, 9.9493, 32.3670)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F589B #9B722F
analogous
#2F8E9B #2F589B #3C2F9B
triadic
#2F589B #9B2F58 #589B2F
tetradic
#2F589B #9B2F8E #9B722F #2F9B3C
square
#2F589B #9B2F8E #9B722F #2F9B3C
split-complementary
#2F589B #9B3C2F #8E9B2F
monochromatic
#13233D #213D6C #2F589B #4274C6 #7196D4

Accessibility & contrast

On white

7.02
#2F589B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2F589B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F589B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F589B#FFFFFF#000000##FFFFFF
##2F589B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9E
Deuteranopia (green-blind)
#26549A
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f589b;
/* rgb */ color: rgb(47, 88, 155);
/* oklch */ color: oklch(46.6% 0.118 259.7);
Tailwind
colors: {
  custom: {
    50: '#7486b9',
    500: '#2f589b',
    950: '#000000',
  },
}
SCSS
$custom: #2f589b;
$custom-light: #7486b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f589b",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 155
  },
  "hsl": {
    "h": 217.222,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46604,
    "c": 0.11841,
    "h": 259.7
  },
  "luminance": 0.0995
}

Semantic roles & 50–950 ramp

primary
#2F589B
secondary
#BB9D6A
accent
#A54BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F589B

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

Preview Lab → · Contrast checker → · Palette generator →

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