#2F5293#2F5293

#2F5293 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.114 H 261.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2F5293
RGBrgb(47, 82, 147)
HSLhsl(219, 52%, 38%)
HSVhsv(219, 68%, 58%)
CMYKcmyk(68%, 44.2%, 0%, 42.4%)
CIE-LABlab(35.49, 9.74, -39.59)
CIE-LCHlch(35.49, 40.77, 283.82°)
OKLaboklab(44.7% -0.0167 -0.113)
OKLCHoklch(44.7% 0.114 261.6)
XYZxyz(9.4542, 8.7446, 28.7877)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5293 #93702F
analogous
#2F8493 #2F5293 #3E2F93
triadic
#2F5293 #932F52 #52932F
tetradic
#2F5293 #932F84 #93702F #2F933E
square
#2F5293 #932F84 #93702F #2F933E
split-complementary
#2F5293 #933E2F #84932F
monochromatic
#111E36 #203865 #2F5293 #3E6CC1 #6C8FD0

Accessibility & contrast

On white

7.64
#2F5293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2F5293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5293
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5293#FFFFFF#000000##FFFFFF
##2F52931.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335896
Deuteranopia (green-blind)
#234F92
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5293;
/* rgb */ color: rgb(47, 82, 147);
/* oklch */ color: oklch(44.7% 0.114 261.6);
Tailwind
colors: {
  custom: {
    50: '#7382b3',
    500: '#2f5293',
    950: '#000000',
  },
}
SCSS
$custom: #2f5293;
$custom-light: #7382b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5293",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 219,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.11427,
    "h": 261.6
  },
  "luminance": 0.08746
}

Semantic roles & 50–950 ramp

primary
#2F5293
secondary
#B79B66
accent
#A94DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5293

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

Preview Lab → · Contrast checker → · Palette generator →

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