#2F49AE#2F49AE

#2F49AE is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.164 H 268.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2F49AE
RGBrgb(47, 73, 174)
HSLhsl(228, 57%, 43%)
HSVhsv(228, 73%, 68%)
CMYKcmyk(73%, 58%, 0%, 31.8%)
CIE-LABlab(34.85, 25.89, -56.83)
CIE-LCHlch(34.85, 62.45, 294.49°)
OKLaboklab(44.82% -0.0055 -0.1639)
OKLCHoklch(44.82% 0.164 268.1)
XYZxyz(11.1922, 8.4242, 41.0724)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49AE #AE942F
analogous
#2F88AE #2F49AE #552FAE
triadic
#2F49AE #AE2F49 #49AE2F
tetradic
#2F49AE #AE2F88 #AE942F #2FAE55
square
#2F49AE #AE2F88 #AE942F #2FAE55
split-complementary
#2F49AE #AE552F #88AE2F
monochromatic
#15214E #22357E #2F49AE #4C66CF #7C8FDC

Accessibility & contrast

On white

7.82
#2F49AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2F49AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F49AE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49AE#FFFFFF#000000##FFFFFF
##2F49AE1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f49ae;
/* rgb */ color: rgb(47, 73, 174);
/* oklch */ color: oklch(44.8% 0.164 268.1);
Tailwind
colors: {
  custom: {
    50: '#797bc7',
    500: '#2f49ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f49ae;
$custom-light: #797bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49ae",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 174
  },
  "hsl": {
    "h": 227.717,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.16399,
    "h": 268.1
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#2F49AE
secondary
#C4B475
accent
#C147E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2F49AE

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

Preview Lab → · Contrast checker → · Palette generator →

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