#2F5690#2F5690

#2F5690 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.4% C 0.105 H 258.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2F5690
RGBrgb(47, 86, 144)
HSLhsl(216, 51%, 37%)
HSVhsv(216, 67%, 56%)
CMYKcmyk(67.4%, 40.3%, 0%, 43.5%)
CIE-LABlab(36.50, 5.99, -36.15)
CIE-LCHlch(36.50, 36.65, 279.41°)
OKLaboklab(45.43% -0.0215 -0.1029)
OKLCHoklch(45.43% 0.105 258.2)
XYZxyz(9.5323, 9.2726, 27.6676)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5690 #90692F
analogous
#2F8790 #2F5690 #382F90
triadic
#2F5690 #902F56 #56902F
tetradic
#2F5690 #902F87 #90692F #2F9038
square
#2F5690 #902F87 #90692F #2F9038
split-complementary
#2F5690 #90382F #87902F
monochromatic
#111F34 #203A62 #2F5690 #3E72BE #6B93CF

Accessibility & contrast

On white

7.36
#2F5690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2F5690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5690
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5690#FFFFFF#000000##FFFFFF
##2F56901.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B92
Deuteranopia (green-blind)
#2E528F
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5690;
/* rgb */ color: rgb(47, 86, 144);
/* oklch */ color: oklch(45.4% 0.105 258.2);
Tailwind
colors: {
  custom: {
    50: '#7285b1',
    500: '#2f5690',
    950: '#000000',
  },
}
SCSS
$custom: #2f5690;
$custom-light: #7285b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5690",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 144
  },
  "hsl": {
    "h": 215.876,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45427,
    "c": 0.10512,
    "h": 258.2
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#2F5690
secondary
#B69565
accent
#A24EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #2F5690

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

Preview Lab → · Contrast checker → · Palette generator →

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