#2F599E#2F599E

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

Color values

HEX#2F599E
RGBrgb(47, 89, 158)
HSLhsl(217, 54%, 40%)
HSVhsv(217, 70%, 62%)
CMYKcmyk(70.3%, 43.7%, 0%, 38%)
CIE-LABlab(38.23, 9.28, -41.84)
CIE-LCHlch(38.23, 42.86, 282.51°)
OKLaboklab(47.03% -0.0215 -0.1195)
OKLCHoklch(47.03% 0.121 259.8)
XYZxyz(10.9140, 10.2166, 33.7379)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F599E #9E742F
analogous
#2F919E #2F599E #3C2F9E
triadic
#2F599E #9E2F59 #599E2F
tetradic
#2F599E #9E2F91 #9E742F #2F9E3C
square
#2F599E #9E2F91 #9E742F #2F9E3C
split-complementary
#2F599E #9E3C2F #919E2F
monochromatic
#132440 #213E6F #2F599E #4375C7 #7298D5

Accessibility & contrast

On white

6.90
#2F599E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F599E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F599E#FFFFFF#000000##FFFFFF
##2F599E1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A1
Deuteranopia (green-blind)
#25559D
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f599e;
/* rgb */ color: rgb(47, 89, 158);
/* oklch */ color: oklch(47.0% 0.121 259.8);
Tailwind
colors: {
  custom: {
    50: '#7587bb',
    500: '#2f599e',
    950: '#000000',
  },
}
SCSS
$custom: #2f599e;
$custom-light: #7587bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f599e",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 158
  },
  "hsl": {
    "h": 217.297,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47032,
    "c": 0.12145,
    "h": 259.8
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F599E

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

Preview Lab → · Contrast checker → · Palette generator →

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