#2F4EBF#2F4EBF

#2F4EBF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.181 H 267.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2F4EBF
RGBrgb(47, 78, 191)
HSLhsl(227, 61%, 47%)
HSVhsv(227, 75%, 75%)
CMYKcmyk(75.4%, 59.2%, 0%, 25.1%)
CIE-LABlab(37.51, 28.94, -62.54)
CIE-LCHlch(37.51, 68.91, 294.83°)
OKLaboklab(47.22% -0.0087 -0.1806)
OKLCHoklch(47.22% 0.181 267.2)
XYZxyz(13.2974, 9.8132, 50.4735)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4EBF #BFA02F
analogous
#2F96BF #2F4EBF #582FBF
triadic
#2F4EBF #BF2F4E #4EBF2F
tetradic
#2F4EBF #BF2F96 #BFA02F #2FBF58
square
#2F4EBF #BF2F96 #BFA02F #2FBF58
split-complementary
#2F4EBF #BF582F #96BF2F
monochromatic
#17265D #233A8E #2F4EBF #5671D5 #879AE1

Accessibility & contrast

On white

7.09
#2F4EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2F4EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4EBF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4EBF#FFFFFF#000000##FFFFFF
##2F4EBF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f4ebf;
/* rgb */ color: rgb(47, 78, 191);
/* oklch */ color: oklch(47.2% 0.181 267.2);
Tailwind
colors: {
  custom: {
    50: '#7d7fd3',
    500: '#2f4ebf',
    950: '#000000',
  },
}
SCSS
$custom: #2f4ebf;
$custom-light: #7d7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4ebf",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 227.083,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.18079,
    "h": 267.2
  },
  "luminance": 0.09815
}

Semantic roles & 50–950 ramp

primary
#2F4EBF
secondary
#CBBB7F
accent
#C144E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2F4EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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