#2F49A2#2F49A2

#2F49A2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.147 H 267.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2F49A2
RGBrgb(47, 73, 162)
HSLhsl(226, 55%, 41%)
HSVhsv(226, 71%, 64%)
CMYKcmyk(71%, 54.9%, 0%, 36.5%)
CIE-LABlab(33.93, 21.39, -51.15)
CIE-LCHlch(33.93, 55.44, 292.69°)
OKLaboklab(43.84% -0.0061 -0.1472)
OKLCHoklch(43.84% 0.147 267.6)
XYZxyz(10.0742, 7.9770, 35.1842)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49A2 #A2882F
analogous
#2F82A2 #2F49A2 #4E2FA2
triadic
#2F49A2 #A22F49 #49A22F
tetradic
#2F49A2 #A22F82 #A2882F #2FA24E
square
#2F49A2 #A22F82 #A2882F #2FA24E
split-complementary
#2F49A2 #A24E2F #82A22F
monochromatic
#131E43 #213473 #2F49A2 #4563C9 #758BD7

Accessibility & contrast

On white

8.09
#2F49A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2F49A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F49A2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49A2#FFFFFF#000000##FFFFFF
##2F49A21.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f49a2;
/* rgb */ color: rgb(47, 73, 162);
/* oklch */ color: oklch(43.8% 0.147 267.6);
Tailwind
colors: {
  custom: {
    50: '#767bbe',
    500: '#2f49a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f49a2;
$custom-light: #767bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49a2",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 226.435,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.14732,
    "h": 267.6
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#2F49A2
secondary
#BFAC6E
accent
#BD49DE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F49A2

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

Preview Lab → · Contrast checker → · Palette generator →

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