#2F599B#2F599B

#2F599B is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.8% C 0.117 H 259.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2F599B
RGBrgb(47, 89, 155)
HSLhsl(217, 53%, 40%)
HSVhsv(217, 70%, 61%)
CMYKcmyk(69.7%, 42.6%, 0%, 39.2%)
CIE-LABlab(38.05, 8.15, -40.33)
CIE-LCHlch(38.05, 41.15, 281.43°)
OKLaboklab(46.83% -0.0221 -0.1151)
OKLCHoklch(46.83% 0.117 259.1)
XYZxyz(10.6589, 10.1146, 32.3946)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F599B #9B712F
analogous
#2F8F9B #2F599B #3B2F9B
triadic
#2F599B #9B2F59 #599B2F
tetradic
#2F599B #9B2F8F #9B712F #2F9B3B
square
#2F599B #9B2F8F #9B712F #2F9B3B
split-complementary
#2F599B #9B3B2F #8F9B2F
monochromatic
#13233D #213E6C #2F599B #4275C6 #7197D4

Accessibility & contrast

On white

6.95
#2F599B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F599B
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F599B#FFFFFF#000000##FFFFFF
##2F599B1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5F9E
Deuteranopia (green-blind)
#29559A
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f599b;
/* rgb */ color: rgb(47, 89, 155);
/* oklch */ color: oklch(46.8% 0.117 259.1);
Tailwind
colors: {
  custom: {
    50: '#7487b9',
    500: '#2f599b',
    950: '#000000',
  },
}
SCSS
$custom: #2f599b;
$custom-light: #7487b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f599b",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 155
  },
  "hsl": {
    "h": 216.667,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46833,
    "c": 0.11721,
    "h": 259.1
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#2F599B
secondary
#BB9C6A
accent
#A44BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F599B

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

Preview Lab → · Contrast checker → · Palette generator →

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