#2F4BBD#2F4BBD

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

Color values

HEX#2F4BBD
RGBrgb(47, 75, 189)
HSLhsl(228, 60%, 46%)
HSVhsv(228, 75%, 74%)
CMYKcmyk(75.1%, 60.3%, 0%, 25.9%)
CIE-LABlab(36.57, 30.15, -62.88)
CIE-LCHlch(36.57, 69.74, 295.62°)
OKLaboklab(46.48% -0.0067 -0.1816)
OKLCHoklch(46.48% 0.182 267.9)
XYZxyz(12.8705, 9.3092, 49.2528)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4BBD #BDA12F
analogous
#2F92BD #2F4BBD #5A2FBD
triadic
#2F4BBD #BD2F4B #4BBD2F
tetradic
#2F4BBD #BD2F92 #BDA12F #2FBD5A
square
#2F4BBD #BD2F92 #BDA12F #2FBD5A
split-complementary
#2F4BBD #BD5A2F #92BD2F
monochromatic
#17245B #23388C #2F4BBD #556ED5 #8698E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4BBD#FFFFFF#000000##FFFFFF
##2F4BBD1.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)
#005DC1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f4bbd;
/* rgb */ color: rgb(47, 75, 189);
/* oklch */ color: oklch(46.5% 0.182 267.9);
Tailwind
colors: {
  custom: {
    50: '#7c7dd2',
    500: '#2f4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #2f4bbd;
$custom-light: #7c7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4bbd",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 228.169,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.18177,
    "h": 267.9
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#2F4BBD
secondary
#CABB7E
accent
#C444E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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