#2F5CA3#2F5CA3

#2F5CA3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.0% C 0.125 H 259.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2F5CA3
RGBrgb(47, 92, 163)
HSLhsl(217, 55%, 41%)
HSVhsv(217, 71%, 64%)
CMYKcmyk(71.2%, 43.6%, 0%, 36.1%)
CIE-LABlab(39.41, 9.21, -42.93)
CIE-LCHlch(39.41, 43.91, 282.11°)
OKLaboklab(48.05% -0.0234 -0.1227)
OKLCHoklch(48.05% 0.125 259.2)
XYZxyz(11.6079, 10.9018, 36.1357)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5CA3 #A3762F
analogous
#2F96A3 #2F5CA3 #3C2FA3
triadic
#2F5CA3 #A32F5C #5CA32F
tetradic
#2F5CA3 #A32F96 #A3762F #2FA33C
square
#2F5CA3 #A32F96 #A3762F #2FA33C
split-complementary
#2F5CA3 #A33C2F #96A32F
monochromatic
#142644 #214173 #2F5CA3 #4679CA #759BD7

Accessibility & contrast

On white

6.60
#2F5CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2F5CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5CA3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5CA3#FFFFFF#000000##FFFFFF
##2F5CA31.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A6
Deuteranopia (green-blind)
#2658A2
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5ca3;
/* rgb */ color: rgb(47, 92, 163);
/* oklch */ color: oklch(48.0% 0.125 259.2);
Tailwind
colors: {
  custom: {
    50: '#7689bf',
    500: '#2f5ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2f5ca3;
$custom-light: #7689bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5ca3",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 216.724,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48047,
    "c": 0.1249,
    "h": 259.2
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#2F5CA3
secondary
#BFA06F
accent
#A549DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F5CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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