#2F5292#2F5292

#2F5292 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.113 H 261.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2F5292
RGBrgb(47, 82, 146)
HSLhsl(219, 51%, 38%)
HSVhsv(219, 68%, 57%)
CMYKcmyk(67.8%, 43.8%, 0%, 42.7%)
CIE-LABlab(35.43, 9.36, -39.08)
CIE-LCHlch(35.43, 40.19, 283.47°)
OKLaboklab(44.63% -0.0169 -0.1116)
OKLCHoklch(44.63% 0.113 261.4)
XYZxyz(9.3761, 8.7133, 28.3763)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5292 #926F2F
analogous
#2F8392 #2F5292 #3E2F92
triadic
#2F5292 #922F52 #52922F
tetradic
#2F5292 #922F83 #926F2F #2F923E
square
#2F5292 #922F83 #926F2F #2F923E
split-complementary
#2F5292 #923E2F #83922F
monochromatic
#111E35 #203864 #2F5292 #3E6CC0 #6C8FD0

Accessibility & contrast

On white

7.66
#2F5292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2F5292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5292
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5292#FFFFFF#000000##FFFFFF
##2F52921.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345894
Deuteranopia (green-blind)
#244F91
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5292;
/* rgb */ color: rgb(47, 82, 146);
/* oklch */ color: oklch(44.6% 0.113 261.4);
Tailwind
colors: {
  custom: {
    50: '#7382b2',
    500: '#2f5292',
    950: '#000000',
  },
}
SCSS
$custom: #2f5292;
$custom-light: #7382b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5292",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 146
  },
  "hsl": {
    "h": 218.788,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44631,
    "c": 0.11283,
    "h": 261.4
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F5292

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

Preview Lab → · Contrast checker → · Palette generator →

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