#2F4FA9#2F4FA9

#2F4FA9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.149 H 265.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2F4FA9
RGBrgb(47, 79, 169)
HSLhsl(224, 56%, 42%)
HSVhsv(224, 72%, 66%)
CMYKcmyk(72.2%, 53.3%, 0%, 33.7%)
CIE-LABlab(36.10, 20.03, -51.83)
CIE-LCHlch(36.10, 55.57, 291.13°)
OKLaboklab(45.64% -0.0107 -0.1491)
OKLCHoklch(45.64% 0.149 265.9)
XYZxyz(11.1272, 9.0597, 38.6907)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4FA9 #A9892F
analogous
#2F8CA9 #2F4FA9 #4C2FA9
triadic
#2F4FA9 #A92F4F #4FA92F
tetradic
#2F4FA9 #A92F8C #A9892F #2FA94C
square
#2F4FA9 #A92F8C #A9892F #2FA94C
split-complementary
#2F4FA9 #A94C2F #8CA92F
monochromatic
#142249 #223979 #2F4FA9 #496BCC #7992DA

Accessibility & contrast

On white

7.47
#2F4FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2F4FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4FA9
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4FA9#FFFFFF#000000##FFFFFF
##2F4FA91.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAC
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f4fa9;
/* rgb */ color: rgb(47, 79, 169);
/* oklch */ color: oklch(45.6% 0.149 265.9);
Tailwind
colors: {
  custom: {
    50: '#787fc3',
    500: '#2f4fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2f4fa9;
$custom-light: #787fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4fa9",
  "rgb": {
    "r": 47,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 224.262,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.14949,
    "h": 265.9
  },
  "luminance": 0.09061
}

Semantic roles & 50–950 ramp

primary
#2F4FA9
secondary
#C2AD72
accent
#B848E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F4FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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