#2F49AF#2F49AF

#2F49AF is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.165 H 268.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2F49AF
RGBrgb(47, 73, 175)
HSLhsl(228, 58%, 44%)
HSVhsv(228, 73%, 69%)
CMYKcmyk(73.1%, 58.3%, 0%, 31.4%)
CIE-LABlab(34.93, 26.26, -57.30)
CIE-LCHlch(34.93, 63.03, 294.62°)
OKLaboklab(44.9% -0.0055 -0.1653)
OKLCHoklch(44.9% 0.165 268.1)
XYZxyz(11.2900, 8.4634, 41.5877)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49AF #AF952F
analogous
#2F89AF #2F49AF #552FAF
triadic
#2F49AF #AF2F49 #49AF2F
tetradic
#2F49AF #AF2F89 #AF952F #2FAF55
square
#2F49AF #AF2F89 #AF952F #2FAF55
split-complementary
#2F49AF #AF552F #89AF2F
monochromatic
#15214F #22357F #2F49AF #4C67CF #7C90DC

Accessibility & contrast

On white

7.80
#2F49AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F49AF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49AF#FFFFFF#000000##FFFFFF
##2F49AF1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f49af;
/* rgb */ color: rgb(47, 73, 175);
/* oklch */ color: oklch(44.9% 0.165 268.1);
Tailwind
colors: {
  custom: {
    50: '#797bc8',
    500: '#2f49af',
    950: '#000000',
  },
}
SCSS
$custom: #2f49af;
$custom-light: #797bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49af",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 227.813,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44899,
    "c": 0.16536,
    "h": 268.1
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F49AF

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

Preview Lab → · Contrast checker → · Palette generator →

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