#2F4AC0#2F4AC0

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

Color values

HEX#2F4AC0
RGBrgb(47, 74, 192)
HSLhsl(229, 61%, 47%)
HSVhsv(229, 76%, 75%)
CMYKcmyk(75.5%, 61.5%, 0%, 24.7%)
CIE-LABlab(36.57, 31.90, -64.65)
CIE-LCHlch(36.57, 72.09, 296.26°)
OKLaboklab(46.55% -0.006 -0.1868)
OKLCHoklch(46.55% 0.187 268.2)
XYZxyz(13.1322, 9.3062, 50.9631)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4AC0 #C0A52F
analogous
#2F92C0 #2F4AC0 #5D2FC0
triadic
#2F4AC0 #C02F4A #4AC02F
tetradic
#2F4AC0 #C02F92 #C0A52F #2FC05D
square
#2F4AC0 #C02F92 #C0A52F #2FC05D
split-complementary
#2F4AC0 #C05D2F #92C02F
monochromatic
#17245E #23378F #2F4AC0 #566ED6 #8898E2

Accessibility & contrast

On white

7.34
#2F4AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2F4AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4AC0
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4AC0#FFFFFF#000000##FFFFFF
##2F4AC01.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f4ac0;
/* rgb */ color: rgb(47, 74, 192);
/* oklch */ color: oklch(46.5% 0.187 268.2);
Tailwind
colors: {
  custom: {
    50: '#7d7cd4',
    500: '#2f4ac0',
    950: '#000000',
  },
}
SCSS
$custom: #2f4ac0;
$custom-light: #7d7cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4ac0",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 228.828,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46548,
    "c": 0.18694,
    "h": 268.2
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F4AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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