#2F5294#2F5294

#2F5294 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.116 H 261.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2F5294
RGBrgb(47, 82, 148)
HSLhsl(219, 52%, 38%)
HSVhsv(219, 68%, 58%)
CMYKcmyk(68.2%, 44.6%, 0%, 42%)
CIE-LABlab(35.55, 10.11, -40.10)
CIE-LCHlch(35.55, 41.36, 284.15°)
OKLaboklab(44.77% -0.0165 -0.1145)
OKLCHoklch(44.77% 0.116 261.8)
XYZxyz(9.5330, 8.7761, 29.2028)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5294 #94712F
analogous
#2F8494 #2F5294 #3E2F94
triadic
#2F5294 #942F52 #52942F
tetradic
#2F5294 #942F84 #94712F #2F943E
square
#2F5294 #942F84 #94712F #2F943E
split-complementary
#2F5294 #943E2F #84942F
monochromatic
#111F37 #203866 #2F5294 #3E6CC2 #6D8FD1

Accessibility & contrast

On white

7.62
#2F5294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2F5294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5294
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5294#FFFFFF#000000##FFFFFF
##2F52941.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325997
Deuteranopia (green-blind)
#214F93
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5294;
/* rgb */ color: rgb(47, 82, 148);
/* oklch */ color: oklch(44.8% 0.116 261.8);
Tailwind
colors: {
  custom: {
    50: '#7382b4',
    500: '#2f5294',
    950: '#000000',
  },
}
SCSS
$custom: #2f5294;
$custom-light: #7382b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5294",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 219.208,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.11572,
    "h": 261.8
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#2F5294
secondary
#B89C67
accent
#AA4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5294

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

Preview Lab → · Contrast checker → · Palette generator →

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