#2F4ABD#2F4ABD

#2F4ABD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.183 H 268.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2F4ABD
RGBrgb(47, 74, 189)
HSLhsl(229, 60%, 46%)
HSVhsv(229, 75%, 74%)
CMYKcmyk(75.1%, 60.8%, 0%, 25.9%)
CIE-LABlab(36.32, 30.80, -63.30)
CIE-LCHlch(36.32, 70.40, 295.95°)
OKLaboklab(46.29% -0.006 -0.1829)
OKLCHoklch(46.29% 0.183 268.1)
XYZxyz(12.8032, 9.1746, 49.2304)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4ABD #BDA22F
analogous
#2F91BD #2F4ABD #5B2FBD
triadic
#2F4ABD #BD2F4A #4ABD2F
tetradic
#2F4ABD #BD2F91 #BDA22F #2FBD5B
square
#2F4ABD #BD2F91 #BDA22F #2FBD5B
split-complementary
#2F4ABD #BD5B2F #91BD2F
monochromatic
#17245B #23378C #2F4ABD #556DD5 #8697E1

Accessibility & contrast

On white

7.41
#2F4ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2F4ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4ABD
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4ABD#FFFFFF#000000##FFFFFF
##2F4ABD1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f4abd;
/* rgb */ color: rgb(47, 74, 189);
/* oklch */ color: oklch(46.3% 0.183 268.1);
Tailwind
colors: {
  custom: {
    50: '#7d7cd2',
    500: '#2f4abd',
    950: '#000000',
  },
}
SCSS
$custom: #2f4abd;
$custom-light: #7d7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4abd",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 228.592,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46286,
    "c": 0.18298,
    "h": 268.1
  },
  "luminance": 0.09176
}

Semantic roles & 50–950 ramp

primary
#2F4ABD
secondary
#CABC7E
accent
#C544E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F4ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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