#2F599D#2F599D

#2F599D is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.120 H 259.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2F599D
RGBrgb(47, 89, 157)
HSLhsl(217, 54%, 40%)
HSVhsv(217, 70%, 62%)
CMYKcmyk(70.1%, 43.3%, 0%, 38.4%)
CIE-LABlab(38.17, 8.91, -41.34)
CIE-LCHlch(38.17, 42.29, 282.16°)
OKLaboklab(46.97% -0.0217 -0.1181)
OKLCHoklch(46.97% 0.12 259.6)
XYZxyz(10.8283, 10.1823, 33.2865)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F599D #9D732F
analogous
#2F909D #2F599D #3C2F9D
triadic
#2F599D #9D2F59 #599D2F
tetradic
#2F599D #9D2F90 #9D732F #2F9D3C
square
#2F599D #9D2F90 #9D732F #2F9D3C
split-complementary
#2F599D #9D3C2F #909D2F
monochromatic
#13243F #213E6E #2F599D #4375C7 #7297D5

Accessibility & contrast

On white

6.92
#2F599D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2F599D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F599D
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F599D#FFFFFF#000000##FFFFFF
##2F599D1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395FA0
Deuteranopia (green-blind)
#26559C
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f599d;
/* rgb */ color: rgb(47, 89, 157);
/* oklch */ color: oklch(47.0% 0.120 259.6);
Tailwind
colors: {
  custom: {
    50: '#7587ba',
    500: '#2f599d',
    950: '#000000',
  },
}
SCSS
$custom: #2f599d;
$custom-light: #7587ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f599d",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 217.091,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.46965,
    "c": 0.12005,
    "h": 259.6
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#2F599D
secondary
#BC9D6B
accent
#A54BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F599D

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

Preview Lab → · Contrast checker → · Palette generator →

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