#2F4ABF#2F4ABF

#2F4ABF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.186 H 268.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2F4ABF
RGBrgb(47, 74, 191)
HSLhsl(229, 61%, 47%)
HSVhsv(229, 75%, 75%)
CMYKcmyk(75.4%, 61.3%, 0%, 25.1%)
CIE-LABlab(36.48, 31.53, -64.20)
CIE-LCHlch(36.48, 71.53, 296.16°)
OKLaboklab(46.46% -0.006 -0.1855)
OKLCHoklch(46.46% 0.186 268.1)
XYZxyz(13.0218, 9.2621, 50.3816)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4ABF #BFA42F
analogous
#2F92BF #2F4ABF #5C2FBF
triadic
#2F4ABF #BF2F4A #4ABF2F
tetradic
#2F4ABF #BF2F92 #BFA42F #2FBF5C
square
#2F4ABF #BF2F92 #BFA42F #2FBF5C
split-complementary
#2F4ABF #BF5C2F #92BF2F
monochromatic
#17245D #23378E #2F4ABF #566ED5 #8798E1

Accessibility & contrast

On white

7.36
#2F4ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2F4ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4ABF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4ABF#FFFFFF#000000##FFFFFF
##2F4ABF1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f4abf;
/* rgb */ color: rgb(47, 74, 191);
/* oklch */ color: oklch(46.5% 0.186 268.1);
Tailwind
colors: {
  custom: {
    50: '#7d7cd3',
    500: '#2f4abf',
    950: '#000000',
  },
}
SCSS
$custom: #2f4abf;
$custom-light: #7d7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4abf",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 228.75,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4646,
    "c": 0.18562,
    "h": 268.1
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#2F4ABF
secondary
#CBBD7F
accent
#C644E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F4ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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