#2F67B7#2F67B7

#2F67B7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 51.9% C 0.140 H 257.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2F67B7
RGBrgb(47, 103, 183)
HSLhsl(215, 59%, 45%)
HSVhsv(215, 74%, 72%)
CMYKcmyk(74.3%, 43.7%, 0%, 28.2%)
CIE-LABlab(43.83, 9.68, -47.64)
CIE-LCHlch(43.83, 48.61, 281.48°)
OKLaboklab(51.86% -0.0295 -0.1363)
OKLCHoklch(51.86% 0.14 257.8)
XYZxyz(14.5667, 13.7221, 46.6715)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F67B7 #B77F2F
analogous
#2FABB7 #2F67B7 #3B2FB7
triadic
#2F67B7 #B72F67 #67B72F
tetradic
#2F67B7 #B72FAB #B77F2F #2FB73B
square
#2F67B7 #B72FAB #B77F2F #2FB73B
split-complementary
#2F67B7 #B73B2F #ABB72F
monochromatic
#163056 #224C86 #2F67B7 #5186D2 #82A8DF

Accessibility & contrast

On white

5.61
#2F67B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2F67B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F67B7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F67B7#FFFFFF#000000##FFFFFF
##2F67B71.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6EBA
Deuteranopia (green-blind)
#2662B5
Tritanopia (blue-blind)
#007A86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f67b7;
/* rgb */ color: rgb(47, 103, 183);
/* oklch */ color: oklch(51.9% 0.140 257.8);
Tailwind
colors: {
  custom: {
    50: '#7a91cd',
    500: '#2f67b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f67b7;
$custom-light: #7a91cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f67b7",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 183
  },
  "hsl": {
    "h": 215.294,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.13951,
    "h": 257.8
  },
  "luminance": 0.13724
}

Semantic roles & 50–950 ramp

primary
#2F67B7
secondary
#C8A87A
accent
#A245E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F67B7

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

Preview Lab → · Contrast checker → · Palette generator →

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