#2F4CB0#2F4CB0

#2F4CB0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.163 H 267.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2F4CB0
RGBrgb(47, 76, 176)
HSLhsl(227, 58%, 44%)
HSVhsv(227, 73%, 69%)
CMYKcmyk(73.3%, 56.8%, 0%, 31%)
CIE-LABlab(35.80, 24.65, -56.47)
CIE-LCHlch(35.80, 61.62, 293.58°)
OKLaboklab(45.58% -0.0077 -0.1628)
OKLCHoklch(45.58% 0.163 267.3)
XYZxyz(11.5905, 8.9066, 42.1742)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4CB0 #B0932F
analogous
#2F8CB0 #2F4CB0 #522FB0
triadic
#2F4CB0 #B02F4C #4CB02F
tetradic
#2F4CB0 #B02F8C #B0932F #2FB052
square
#2F4CB0 #B02F8C #B0932F #2FB052
split-complementary
#2F4CB0 #B0522F #8CB02F
monochromatic
#15224F #223780 #2F4CB0 #4D6ACF #7D92DC

Accessibility & contrast

On white

7.55
#2F4CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2F4CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4CB0
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4CB0#FFFFFF#000000##FFFFFF
##2F4CB01.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f4cb0;
/* rgb */ color: rgb(47, 76, 176);
/* oklch */ color: oklch(45.6% 0.163 267.3);
Tailwind
colors: {
  custom: {
    50: '#797dc8',
    500: '#2f4cb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f4cb0;
$custom-light: #797dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4cb0",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 226.512,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45578,
    "c": 0.16298,
    "h": 267.3
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#2F4CB0
secondary
#C5B376
accent
#BE47E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2F4CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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