#2F5ABD#2F5ABD

#2F5ABD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.163 H 263.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2F5ABD
RGBrgb(47, 90, 189)
HSLhsl(222, 60%, 46%)
HSVhsv(222, 75%, 74%)
CMYKcmyk(75.1%, 52.4%, 0%, 25.9%)
CIE-LABlab(40.56, 20.35, -56.41)
CIE-LCHlch(40.56, 59.97, 289.84°)
OKLaboklab(49.47% -0.0177 -0.1624)
OKLCHoklch(49.47% 0.163 263.8)
XYZxyz(14.0105, 11.5892, 49.6328)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5ABD #BD922F
analogous
#2FA1BD #2F5ABD #4B2FBD
triadic
#2F5ABD #BD2F5A #5ABD2F
tetradic
#2F5ABD #BD2FA1 #BD922F #2FBD4B
square
#2F5ABD #BD2FA1 #BD922F #2FBD4B
split-complementary
#2F5ABD #BD4B2F #A1BD2F
monochromatic
#172B5B #23438C #2F5ABD #557BD5 #86A1E1

Accessibility & contrast

On white

6.33
#2F5ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2F5ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5ABD
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5ABD#FFFFFF#000000##FFFFFF
##2F5ABD1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1566C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f5abd;
/* rgb */ color: rgb(47, 90, 189);
/* oklch */ color: oklch(49.5% 0.163 263.8);
Tailwind
colors: {
  custom: {
    50: '#7b88d2',
    500: '#2f5abd',
    950: '#000000',
  },
}
SCSS
$custom: #2f5abd;
$custom-light: #7b88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5abd",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 221.831,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49469,
    "c": 0.16335,
    "h": 263.8
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#2F5ABD
secondary
#CAB37E
accent
#B344E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2F5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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