#2F5CA2#2F5CA2

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

Color values

HEX#2F5CA2
RGBrgb(47, 92, 162)
HSLhsl(217, 55%, 41%)
HSVhsv(217, 71%, 64%)
CMYKcmyk(71%, 43.2%, 0%, 36.5%)
CIE-LABlab(39.35, 8.84, -42.43)
CIE-LCHlch(39.35, 43.34, 281.77°)
OKLaboklab(47.98% -0.0236 -0.1212)
OKLCHoklch(47.98% 0.123 259)
XYZxyz(11.5187, 10.8661, 35.6657)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5CA2 #A2752F
analogous
#2F95A2 #2F5CA2 #3B2FA2
triadic
#2F5CA2 #A22F5C #5CA22F
tetradic
#2F5CA2 #A22F95 #A2752F #2FA23B
square
#2F5CA2 #A22F95 #A2752F #2FA23B
split-complementary
#2F5CA2 #A23B2F #95A22F
monochromatic
#132643 #214173 #2F5CA2 #4579C9 #759BD7

Accessibility & contrast

On white

6.62
#2F5CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2F5CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5CA2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5CA2#FFFFFF#000000##FFFFFF
##2F5CA21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#2758A1
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5ca2;
/* rgb */ color: rgb(47, 92, 162);
/* oklch */ color: oklch(48.0% 0.123 259.0);
Tailwind
colors: {
  custom: {
    50: '#7689be',
    500: '#2f5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2f5ca2;
$custom-light: #7689be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5ca2",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 216.522,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47981,
    "c": 0.12349,
    "h": 259
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#2F5CA2
secondary
#BF9F6E
accent
#A449DE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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