#2F49A9#2F49A9

#2F49A9 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.157 H 267.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2F49A9
RGBrgb(47, 73, 169)
HSLhsl(227, 56%, 42%)
HSVhsv(227, 72%, 66%)
CMYKcmyk(72.2%, 56.8%, 0%, 33.7%)
CIE-LABlab(34.46, 24.02, -54.49)
CIE-LCHlch(34.46, 59.54, 293.79°)
OKLaboklab(44.4% -0.0057 -0.157)
OKLCHoklch(44.4% 0.157 267.9)
XYZxyz(10.7138, 8.2329, 38.5529)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49A9 #A98F2F
analogous
#2F86A9 #2F49A9 #522FA9
triadic
#2F49A9 #A92F49 #49A92F
tetradic
#2F49A9 #A92F86 #A98F2F #2FA952
square
#2F49A9 #A92F86 #A98F2F #2FA952
split-complementary
#2F49A9 #A9522F #86A92F
monochromatic
#142049 #223479 #2F49A9 #4965CC #798DDA

Accessibility & contrast

On white

7.93
#2F49A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2F49A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F49A9
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49A9#FFFFFF#000000##FFFFFF
##2F49A91.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f49a9;
/* rgb */ color: rgb(47, 73, 169);
/* oklch */ color: oklch(44.4% 0.157 267.9);
Tailwind
colors: {
  custom: {
    50: '#787bc3',
    500: '#2f49a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f49a9;
$custom-light: #787bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49a9",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 169
  },
  "hsl": {
    "h": 227.213,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44403,
    "c": 0.1571,
    "h": 267.9
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#2F49A9
secondary
#C2B172
accent
#BF48E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2F49A9

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

Preview Lab → · Contrast checker → · Palette generator →

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