#2F5DA0#2F5DA0

#2F5DA0 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.1% C 0.120 H 257.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2F5DA0
RGBrgb(47, 93, 160)
HSLhsl(216, 55%, 41%)
HSVhsv(216, 71%, 63%)
CMYKcmyk(70.6%, 41.9%, 0%, 37.3%)
CIE-LABlab(39.53, 7.44, -40.96)
CIE-LCHlch(39.53, 41.63, 280.30°)
OKLaboklab(48.08% -0.025 -0.1169)
OKLCHoklch(48.08% 0.12 257.9)
XYZxyz(11.4295, 10.9699, 34.7659)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5DA0 #A0722F
analogous
#2F95A0 #2F5DA0 #392FA0
triadic
#2F5DA0 #A02F5D #5DA02F
tetradic
#2F5DA0 #A02F95 #A0722F #2FA039
square
#2F5DA0 #A02F95 #A0722F #2FA039
split-complementary
#2F5DA0 #A0392F #95A02F
monochromatic
#132641 #214271 #2F5DA0 #447AC8 #739CD6

Accessibility & contrast

On white

6.57
#2F5DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2F5DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5DA0
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5DA0#FFFFFF#000000##FFFFFF
##2F5DA01.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A3
Deuteranopia (green-blind)
#2B589F
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5da0;
/* rgb */ color: rgb(47, 93, 160);
/* oklch */ color: oklch(48.1% 0.120 257.9);
Tailwind
colors: {
  custom: {
    50: '#758abc',
    500: '#2f5da0',
    950: '#000000',
  },
}
SCSS
$custom: #2f5da0;
$custom-light: #758abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5da0",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 160
  },
  "hsl": {
    "h": 215.575,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.11952,
    "h": 257.9
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#2F5DA0
secondary
#BE9D6D
accent
#A24ADE
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F5DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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