#2F5290#2F5290

#2F5290 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.110 H 261.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2F5290
RGBrgb(47, 82, 144)
HSLhsl(218, 51%, 37%)
HSVhsv(218, 67%, 56%)
CMYKcmyk(67.4%, 43.1%, 0%, 43.5%)
CIE-LABlab(35.30, 8.61, -38.06)
CIE-LCHlch(35.30, 39.03, 282.75°)
OKLaboklab(44.5% -0.0173 -0.1086)
OKLCHoklch(44.5% 0.11 261)
XYZxyz(9.2218, 8.6516, 27.5641)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5290 #906D2F
analogous
#2F8290 #2F5290 #3D2F90
triadic
#2F5290 #902F52 #52902F
tetradic
#2F5290 #902F82 #906D2F #2F903D
square
#2F5290 #902F82 #906D2F #2F903D
split-complementary
#2F5290 #903D2F #82902F
monochromatic
#111D34 #203862 #2F5290 #3E6CBE #6B8FCF

Accessibility & contrast

On white

7.69
#2F5290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2F5290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5290
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5290#FFFFFF#000000##FFFFFF
##2F52901.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355892
Deuteranopia (green-blind)
#264F8F
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5290;
/* rgb */ color: rgb(47, 82, 144);
/* oklch */ color: oklch(44.5% 0.110 261.0);
Tailwind
colors: {
  custom: {
    50: '#7282b1',
    500: '#2f5290',
    950: '#000000',
  },
}
SCSS
$custom: #2f5290;
$custom-light: #7282b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5290",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 218.351,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44498,
    "c": 0.10993,
    "h": 261
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#2F5290
secondary
#B69965
accent
#A74EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #2F5290

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

Preview Lab → · Contrast checker → · Palette generator →

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