#2F49AA#2F49AA

#2F49AA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.158 H 268.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2F49AA
RGBrgb(47, 73, 170)
HSLhsl(227, 57%, 43%)
HSVhsv(227, 72%, 67%)
CMYKcmyk(72.4%, 57.1%, 0%, 33.3%)
CIE-LABlab(34.54, 24.39, -54.96)
CIE-LCHlch(34.54, 60.13, 293.93°)
OKLaboklab(44.49% -0.0057 -0.1584)
OKLCHoklch(44.49% 0.158 268)
XYZxyz(10.8080, 8.2706, 39.0492)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49AA #AA902F
analogous
#2F87AA #2F49AA #522FAA
triadic
#2F49AA #AA2F49 #49AA2F
tetradic
#2F49AA #AA2F87 #AA902F #2FAA52
square
#2F49AA #AA2F87 #AA902F #2FAA52
split-complementary
#2F49AA #AA522F #87AA2F
monochromatic
#14204A #22347A #2F49AA #4965CD #798EDA

Accessibility & contrast

On white

7.91
#2F49AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F49AA
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49AA#FFFFFF#000000##FFFFFF
##2F49AA1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f49aa;
/* rgb */ color: rgb(47, 73, 170);
/* oklch */ color: oklch(44.5% 0.158 268.0);
Tailwind
colors: {
  custom: {
    50: '#787bc4',
    500: '#2f49aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f49aa;
$custom-light: #787bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49aa",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 170
  },
  "hsl": {
    "h": 227.317,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.15849,
    "h": 268
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F49AA

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

Preview Lab → · Contrast checker → · Palette generator →

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