#2F5490#2F5490

#2F5490 is a dark, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.107 H 259.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2F5490
RGBrgb(47, 84, 144)
HSLhsl(217, 51%, 37%)
HSVhsv(217, 67%, 56%)
CMYKcmyk(67.4%, 41.7%, 0%, 43.5%)
CIE-LABlab(35.90, 7.30, -37.11)
CIE-LCHlch(35.90, 37.82, 281.13°)
OKLaboklab(44.96% -0.0194 -0.1057)
OKLCHoklch(44.96% 0.107 259.6)
XYZxyz(9.3749, 8.9577, 27.6151)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5490 #906B2F
analogous
#2F8590 #2F5490 #3A2F90
triadic
#2F5490 #902F54 #54902F
tetradic
#2F5490 #902F85 #906B2F #2F903A
square
#2F5490 #902F85 #906B2F #2F903A
split-complementary
#2F5490 #903A2F #85902F
monochromatic
#111E34 #203962 #2F5490 #3E6FBE #6B91CF

Accessibility & contrast

On white

7.52
#2F5490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2F5490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5490
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5490#FFFFFF#000000##FFFFFF
##2F54901.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395992
Deuteranopia (green-blind)
#2A508F
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5490;
/* rgb */ color: rgb(47, 84, 144);
/* oklch */ color: oklch(45.0% 0.107 259.6);
Tailwind
colors: {
  custom: {
    50: '#7283b1',
    500: '#2f5490',
    950: '#000000',
  },
}
SCSS
$custom: #2f5490;
$custom-light: #7283b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5490",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 144
  },
  "hsl": {
    "h": 217.113,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.10749,
    "h": 259.6
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

primary
#2F5490
secondary
#B69765
accent
#A54EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #2F5490

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

Preview Lab → · Contrast checker → · Palette generator →

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