#2F5BDB#2F5BDB

#2F5BDB is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.1% C 0.202 H 265.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2F5BDB
RGBrgb(47, 91, 219)
HSLhsl(225, 70%, 52%)
HSVhsv(225, 79%, 86%)
CMYKcmyk(78.5%, 58.4%, 0%, 14.1%)
CIE-LABlab(43.06, 30.93, -69.64)
CIE-LCHlch(43.06, 76.20, 293.94°)
OKLaboklab(52.06% -0.0164 -0.2013)
OKLCHoklch(52.06% 0.202 265.3)
XYZxyz(17.6950, 13.1989, 68.6191)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5BDB #DBAF2F
analogous
#2FB1DB #2F5BDB #592FDB
triadic
#2F5BDB #DB2F5B #5BDB2F
tetradic
#2F5BDB #DB2FB1 #DBAF2F #2FDB59
square
#2F5BDB #DB2FB1 #DBAF2F #2FDB59
split-complementary
#2F5BDB #DB592F #B1DB2F
monochromatic
#152F7A #1E43AF #2F5BDB #6384E4 #97ADED

Accessibility & contrast

On white

5.77
#2F5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2F5BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5BDB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5BDB#FFFFFF#000000##FFFFFF
##2F5BDB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f5bdb;
/* rgb */ color: rgb(47, 91, 219);
/* oklch */ color: oklch(52.1% 0.202 265.3);
Tailwind
colors: {
  custom: {
    50: '#8288e7',
    500: '#2f5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #2f5bdb;
$custom-light: #8288e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5bdb",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 224.651,
    "s": 70.492,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52063,
    "c": 0.20193,
    "h": 265.3
  },
  "luminance": 0.13201
}

Semantic roles & 50–950 ramp

primary
#2F5BDB
secondary
#D8C58D
accent
#C03BED
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2F5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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