#2F49A5#2F49A5

#2F49A5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.152 H 267.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2F49A5
RGBrgb(47, 73, 165)
HSLhsl(227, 56%, 42%)
HSVhsv(227, 72%, 65%)
CMYKcmyk(71.5%, 55.8%, 0%, 35.3%)
CIE-LABlab(34.16, 22.52, -52.59)
CIE-LCHlch(34.16, 57.20, 293.18°)
OKLaboklab(44.08% -0.0059 -0.1514)
OKLCHoklch(44.08% 0.152 267.8)
XYZxyz(10.3440, 8.0850, 36.6054)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49A5 #A58B2F
analogous
#2F84A5 #2F49A5 #502FA5
triadic
#2F49A5 #A52F49 #49A52F
tetradic
#2F49A5 #A52F84 #A58B2F #2FA550
square
#2F49A5 #A52F84 #A58B2F #2FA550
split-complementary
#2F49A5 #A5502F #84A52F
monochromatic
#141F46 #213475 #2F49A5 #4764CB #768CD8

Accessibility & contrast

On white

8.02
#2F49A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2F49A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F49A5
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49A5#FFFFFF#000000##FFFFFF
##2F49A51.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f49a5;
/* rgb */ color: rgb(47, 73, 165);
/* oklch */ color: oklch(44.1% 0.152 267.8);
Tailwind
colors: {
  custom: {
    50: '#777bc0',
    500: '#2f49a5',
    950: '#000000',
  },
}
SCSS
$custom: #2f49a5;
$custom-light: #777bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49a5",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 165
  },
  "hsl": {
    "h": 226.78,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44079,
    "c": 0.15153,
    "h": 267.8
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#2F49A5
secondary
#C0AE70
accent
#BE49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F49A5

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

Preview Lab → · Contrast checker → · Palette generator →

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