#2F5697#2F5697

#2F5697 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.9% C 0.115 H 260.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2F5697
RGBrgb(47, 86, 151)
HSLhsl(218, 53%, 39%)
HSVhsv(218, 69%, 59%)
CMYKcmyk(68.9%, 43%, 0%, 40.8%)
CIE-LABlab(36.92, 8.61, -39.73)
CIE-LCHlch(36.92, 40.65, 282.23°)
OKLaboklab(45.88% -0.0199 -0.1134)
OKLCHoklch(45.88% 0.115 260)
XYZxyz(10.0840, 9.4933, 30.5731)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5697 #97702F
analogous
#2F8A97 #2F5697 #3C2F97
triadic
#2F5697 #972F56 #56972F
tetradic
#2F5697 #972F8A #97702F #2F973C
square
#2F5697 #972F8A #97702F #2F973C
split-complementary
#2F5697 #973C2F #8A972F
monochromatic
#12213A #203B68 #2F5697 #4071C3 #6E94D2

Accessibility & contrast

On white

7.24
#2F5697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2F5697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5697
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5697#FFFFFF#000000##FFFFFF
##2F56971.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#275296
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f5697;
/* rgb */ color: rgb(47, 86, 151);
/* oklch */ color: oklch(45.9% 0.115 260.0);
Tailwind
colors: {
  custom: {
    50: '#7485b6',
    500: '#2f5697',
    950: '#000000',
  },
}
SCSS
$custom: #2f5697;
$custom-light: #7485b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5697",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 217.5,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45881,
    "c": 0.11513,
    "h": 260
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#2F5697
secondary
#B99B68
accent
#A64CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5697

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

Preview Lab → · Contrast checker → · Palette generator →

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