#2F5FA2#2F5FA2

#2F5FA2 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.7% C 0.120 H 257.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2F5FA2
RGBrgb(47, 95, 162)
HSLhsl(215, 55%, 41%)
HSVhsv(215, 71%, 64%)
CMYKcmyk(71%, 41.4%, 0%, 36.5%)
CIE-LABlab(40.24, 6.90, -41.02)
CIE-LCHlch(40.24, 41.59, 279.55°)
OKLaboklab(48.67% -0.0265 -0.117)
OKLCHoklch(48.67% 0.12 257.2)
XYZxyz(11.7837, 11.3961, 35.7541)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5FA2 #A2722F
analogous
#2F98A2 #2F5FA2 #392FA2
triadic
#2F5FA2 #A22F5F #5FA22F
tetradic
#2F5FA2 #A22F98 #A2722F #2FA239
square
#2F5FA2 #A22F98 #A2722F #2FA239
split-complementary
#2F5FA2 #A2392F #98A22F
monochromatic
#132743 #214373 #2F5FA2 #457CC9 #759ED7

Accessibility & contrast

On white

6.40
#2F5FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2F5FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5FA2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5FA2#FFFFFF#000000##FFFFFF
##2F5FA21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#2D5AA1
Tritanopia (blue-blind)
#006F78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f5fa2;
/* rgb */ color: rgb(47, 95, 162);
/* oklch */ color: oklch(48.7% 0.120 257.2);
Tailwind
colors: {
  custom: {
    50: '#768bbe',
    500: '#2f5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2f5fa2;
$custom-light: #768bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5fa2",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 214.957,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48667,
    "c": 0.11999,
    "h": 257.2
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

primary
#2F5FA2
secondary
#BF9D6E
accent
#A049DE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2F5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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