#2F589C#2F589C

#2F589C is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.7% C 0.120 H 260.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2F589C
RGBrgb(47, 88, 156)
HSLhsl(217, 54%, 40%)
HSVhsv(217, 70%, 61%)
CMYKcmyk(69.9%, 43.6%, 0%, 38.8%)
CIE-LABlab(37.81, 9.18, -41.31)
CIE-LCHlch(37.81, 42.32, 282.53°)
OKLaboklab(46.67% -0.0209 -0.118)
OKLCHoklch(46.67% 0.12 260)
XYZxyz(10.6606, 9.9830, 32.8111)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F589C #9C732F
analogous
#2F8F9C #2F589C #3C2F9C
triadic
#2F589C #9C2F58 #589C2F
tetradic
#2F589C #9C2F8F #9C732F #2F9C3C
square
#2F589C #9C2F8F #9C732F #2F9C3C
split-complementary
#2F589C #9C3C2F #8F9C2F
monochromatic
#13233E #213D6D #2F589C #4274C6 #7196D4

Accessibility & contrast

On white

7.01
#2F589C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F589C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F589C#FFFFFF#000000##FFFFFF
##2F589C1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9F
Deuteranopia (green-blind)
#25549B
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f589c;
/* rgb */ color: rgb(47, 88, 156);
/* oklch */ color: oklch(46.7% 0.120 260.0);
Tailwind
colors: {
  custom: {
    50: '#7586b9',
    500: '#2f589c',
    950: '#000000',
  },
}
SCSS
$custom: #2f589c;
$custom-light: #7586b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f589c",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 156
  },
  "hsl": {
    "h": 217.431,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46671,
    "c": 0.11983,
    "h": 260
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#2F589C
secondary
#BC9D6B
accent
#A64BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F589C

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

Preview Lab → · Contrast checker → · Palette generator →

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