#2F599C#2F599C

#2F599C is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.9% C 0.119 H 259.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2F599C
RGBrgb(47, 89, 156)
HSLhsl(217, 54%, 40%)
HSVhsv(217, 70%, 61%)
CMYKcmyk(69.9%, 42.9%, 0%, 38.8%)
CIE-LABlab(38.11, 8.53, -40.84)
CIE-LCHlch(38.11, 41.72, 281.80°)
OKLaboklab(46.9% -0.0219 -0.1166)
OKLCHoklch(46.9% 0.119 259.4)
XYZxyz(10.7433, 10.1483, 32.8387)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F599C #9C722F
analogous
#2F909C #2F599C #3C2F9C
triadic
#2F599C #9C2F59 #599C2F
tetradic
#2F599C #9C2F90 #9C722F #2F9C3C
square
#2F599C #9C2F90 #9C722F #2F9C3C
split-complementary
#2F599C #9C3C2F #909C2F
monochromatic
#13233E #213E6D #2F599C #4275C6 #7197D4

Accessibility & contrast

On white

6.93
#2F599C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2F599C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F599C
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F599C#FFFFFF#000000##FFFFFF
##2F599C1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9F
Deuteranopia (green-blind)
#27559B
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f599c;
/* rgb */ color: rgb(47, 89, 156);
/* oklch */ color: oklch(46.9% 0.119 259.4);
Tailwind
colors: {
  custom: {
    50: '#7587b9',
    500: '#2f599c',
    950: '#000000',
  },
}
SCSS
$custom: #2f599c;
$custom-light: #7587b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f599c",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 156
  },
  "hsl": {
    "h": 216.881,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46899,
    "c": 0.11863,
    "h": 259.4
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F599C

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

Preview Lab → · Contrast checker → · Palette generator →

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