#2F5DB3#2F5DB3

#2F5DB3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.146 H 261.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2F5DB3
RGBrgb(47, 93, 179)
HSLhsl(219, 58%, 44%)
HSVhsv(219, 74%, 70%)
CMYKcmyk(73.7%, 48%, 0%, 29.8%)
CIE-LABlab(40.71, 14.61, -50.30)
CIE-LCHlch(40.71, 52.38, 286.19°)
OKLaboklab(49.37% -0.0215 -0.1444)
OKLCHoklch(49.37% 0.146 261.5)
XYZxyz(13.2204, 11.6863, 44.1980)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5DB3 #B3852F
analogous
#2F9FB3 #2F5DB3 #432FB3
triadic
#2F5DB3 #B32F5D #5DB32F
tetradic
#2F5DB3 #B32F9F #B3852F #2FB343
square
#2F5DB3 #B32F9F #B3852F #2FB343
split-complementary
#2F5DB3 #B3432F #9FB32F
monochromatic
#162B52 #224483 #2F5DB3 #4F7CD1 #7FA0DD

Accessibility & contrast

On white

6.29
#2F5DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2F5DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5DB3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5DB3#FFFFFF#000000##FFFFFF
##2F5DB31.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B6
Deuteranopia (green-blind)
#065AB1
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f5db3;
/* rgb */ color: rgb(47, 93, 179);
/* oklch */ color: oklch(49.4% 0.146 261.5);
Tailwind
colors: {
  custom: {
    50: '#798aca',
    500: '#2f5db3',
    950: '#000000',
  },
}
SCSS
$custom: #2f5db3;
$custom-light: #798aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5db3",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 219.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.14595,
    "h": 261.5
  },
  "luminance": 0.11688
}

Semantic roles & 50–950 ramp

primary
#2F5DB3
secondary
#C6AB78
accent
#AB46E2
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F5DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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