#2F49A4#2F49A4

#2F49A4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.150 H 267.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2F49A4
RGBrgb(47, 73, 164)
HSLhsl(227, 55%, 41%)
HSVhsv(227, 71%, 64%)
CMYKcmyk(71.3%, 55.5%, 0%, 35.7%)
CIE-LABlab(34.08, 22.14, -52.11)
CIE-LCHlch(34.08, 56.62, 293.02°)
OKLaboklab(44% -0.006 -0.15)
OKLCHoklch(44% 0.15 267.7)
XYZxyz(10.2534, 8.0487, 36.1280)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49A4 #A48A2F
analogous
#2F84A4 #2F49A4 #502FA4
triadic
#2F49A4 #A42F49 #49A42F
tetradic
#2F49A4 #A42F84 #A48A2F #2FA450
square
#2F49A4 #A42F84 #A48A2F #2FA450
split-complementary
#2F49A4 #A4502F #84A42F
monochromatic
#141F45 #213474 #2F49A4 #4663CA #768BD8

Accessibility & contrast

On white

8.05
#2F49A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2F49A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F49A4
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49A4#FFFFFF#000000##FFFFFF
##2F49A41.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f49a4;
/* rgb */ color: rgb(47, 73, 164);
/* oklch */ color: oklch(44.0% 0.150 267.7);
Tailwind
colors: {
  custom: {
    50: '#777bc0',
    500: '#2f49a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f49a4;
$custom-light: #777bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49a4",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 164
  },
  "hsl": {
    "h": 226.667,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43999,
    "c": 0.15013,
    "h": 267.7
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#2F49A4
secondary
#C0AE6F
accent
#BD49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F49A4

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

Preview Lab → · Contrast checker → · Palette generator →

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