#2F5DA9#2F5DA9

#2F5DA9 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.132 H 259.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2F5DA9
RGBrgb(47, 93, 169)
HSLhsl(217, 56%, 42%)
HSVhsv(217, 72%, 66%)
CMYKcmyk(72.2%, 45%, 0%, 33.7%)
CIE-LABlab(40.08, 10.83, -45.43)
CIE-LCHlch(40.08, 46.70, 283.41°)
OKLaboklab(48.68% -0.0232 -0.13)
OKLCHoklch(48.68% 0.132 259.9)
XYZxyz(12.2455, 11.2963, 39.0635)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5DA9 #A97B2F
analogous
#2F9AA9 #2F5DA9 #3E2FA9
triadic
#2F5DA9 #A92F5D #5DA92F
tetradic
#2F5DA9 #A92F9A #A97B2F #2FA93E
square
#2F5DA9 #A92F9A #A97B2F #2FA93E
split-complementary
#2F5DA9 #A93E2F #9AA92F
monochromatic
#142849 #224379 #2F5DA9 #497ACC #799DDA

Accessibility & contrast

On white

6.44
#2F5DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2F5DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5DA9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5DA9#FFFFFF#000000##FFFFFF
##2F5DA91.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AC
Deuteranopia (green-blind)
#2059A7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f5da9;
/* rgb */ color: rgb(47, 93, 169);
/* oklch */ color: oklch(48.7% 0.132 259.9);
Tailwind
colors: {
  custom: {
    50: '#778ac3',
    500: '#2f5da9',
    950: '#000000',
  },
}
SCSS
$custom: #2f5da9;
$custom-light: #778ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5da9",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 169
  },
  "hsl": {
    "h": 217.377,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48677,
    "c": 0.13208,
    "h": 259.9
  },
  "luminance": 0.11298
}

Semantic roles & 50–950 ramp

primary
#2F5DA9
secondary
#C2A472
accent
#A748E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2F5DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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