#2F5ADB#2F5ADB

#2F5ADB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 51.9% C 0.203 H 265.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2F5ADB
RGBrgb(47, 90, 219)
HSLhsl(225, 70%, 52%)
HSVhsv(225, 79%, 86%)
CMYKcmyk(78.5%, 58.9%, 0%, 14.1%)
CIE-LABlab(42.81, 31.56, -70.06)
CIE-LCHlch(42.81, 76.84, 294.25°)
OKLaboklab(51.87% -0.0158 -0.2025)
OKLCHoklch(51.87% 0.203 265.5)
XYZxyz(17.6101, 13.0291, 68.5908)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5ADB #DBB02F
analogous
#2FB0DB #2F5ADB #5A2FDB
triadic
#2F5ADB #DB2F5A #5ADB2F
tetradic
#2F5ADB #DB2FB0 #DBB02F #2FDB5A
square
#2F5ADB #DB2FB0 #DBB02F #2FDB5A
split-complementary
#2F5ADB #DB5A2F #B0DB2F
monochromatic
#152E7A #1E42AF #2F5ADB #6383E4 #97ADED

Accessibility & contrast

On white

5.82
#2F5ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2F5ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5ADB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5ADB#FFFFFF#000000##FFFFFF
##2F5ADB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f5adb;
/* rgb */ color: rgb(47, 90, 219);
/* oklch */ color: oklch(51.9% 0.203 265.5);
Tailwind
colors: {
  custom: {
    50: '#8288e7',
    500: '#2f5adb',
    950: '#000000',
  },
}
SCSS
$custom: #2f5adb;
$custom-light: #8288e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5adb",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 219
  },
  "hsl": {
    "h": 225,
    "s": 70.492,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51872,
    "c": 0.20311,
    "h": 265.5
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#2F5ADB
secondary
#D8C68D
accent
#C13BED
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2F5ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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