#2F599F#2F599F

#2F599F is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.1% C 0.123 H 260.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2F599F
RGBrgb(47, 89, 159)
HSLhsl(218, 54%, 40%)
HSVhsv(218, 70%, 62%)
CMYKcmyk(70.4%, 44%, 0%, 37.6%)
CIE-LABlab(38.29, 9.66, -42.34)
CIE-LCHlch(38.29, 43.43, 282.85°)
OKLaboklab(47.1% -0.0213 -0.121)
OKLCHoklch(47.1% 0.123 260)
XYZxyz(11.0004, 10.2512, 34.1931)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F599F #9F752F
analogous
#2F919F #2F599F #3D2F9F
triadic
#2F599F #9F2F59 #599F2F
tetradic
#2F599F #9F2F91 #9F752F #2F9F3D
square
#2F599F #9F2F91 #9F752F #2F9F3D
split-complementary
#2F599F #9F3D2F #919F2F
monochromatic
#132441 #213F70 #2F599F #4475C8 #7398D6

Accessibility & contrast

On white

6.88
#2F599F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2F599F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F599F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F599F#FFFFFF#000000##FFFFFF
##2F599F1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A2
Deuteranopia (green-blind)
#24559E
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f599f;
/* rgb */ color: rgb(47, 89, 159);
/* oklch */ color: oklch(47.1% 0.123 260.0);
Tailwind
colors: {
  custom: {
    50: '#7587bc',
    500: '#2f599f',
    950: '#000000',
  },
}
SCSS
$custom: #2f599f;
$custom-light: #7587bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f599f",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 159
  },
  "hsl": {
    "h": 217.5,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47099,
    "c": 0.12287,
    "h": 260
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#2F599F
secondary
#BD9F6D
accent
#A64ADE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F599F

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

Preview Lab → · Contrast checker → · Palette generator →

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