#2F4CBE#2F4CBE

#2F4CBE is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.182 H 267.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2F4CBE
RGBrgb(47, 76, 190)
HSLhsl(228, 60%, 46%)
HSVhsv(228, 75%, 75%)
CMYKcmyk(75.3%, 60%, 0%, 25.5%)
CIE-LABlab(36.91, 29.87, -62.92)
CIE-LCHlch(36.91, 69.65, 295.39°)
OKLaboklab(46.75% -0.0074 -0.1817)
OKLCHoklch(46.75% 0.182 267.7)
XYZxyz(13.0478, 9.4895, 49.8492)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4CBE #BEA12F
analogous
#2F94BE #2F4CBE #5A2FBE
triadic
#2F4CBE #BE2F4C #4CBE2F
tetradic
#2F4CBE #BE2F94 #BEA12F #2FBE5A
square
#2F4CBE #BE2F94 #BEA12F #2FBE5A
split-complementary
#2F4CBE #BE5A2F #94BE2F
monochromatic
#17255C #23388D #2F4CBE #556FD5 #8699E1

Accessibility & contrast

On white

7.25
#2F4CBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2F4CBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4CBE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4CBE#FFFFFF#000000##FFFFFF
##2F4CBE1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f4cbe;
/* rgb */ color: rgb(47, 76, 190);
/* oklch */ color: oklch(46.8% 0.182 267.7);
Tailwind
colors: {
  custom: {
    50: '#7d7dd2',
    500: '#2f4cbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f4cbe;
$custom-light: #7d7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4cbe",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 227.832,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46751,
    "c": 0.18189,
    "h": 267.7
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#2F4CBE
secondary
#CBBB7E
accent
#C344E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F4CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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