#2F5AC3#2F5AC3

#2F5AC3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.171 H 264.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2F5AC3
RGBrgb(47, 90, 195)
HSLhsl(223, 61%, 47%)
HSVhsv(223, 76%, 76%)
CMYKcmyk(75.9%, 53.8%, 0%, 23.5%)
CIE-LABlab(40.99, 22.61, -59.21)
CIE-LCHlch(40.99, 63.38, 290.90°)
OKLaboklab(49.93% -0.0171 -0.1706)
OKLCHoklch(49.93% 0.171 264.3)
XYZxyz(14.6753, 11.8552, 53.1340)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5AC3 #C3982F
analogous
#2FA4C3 #2F5AC3 #4E2FC3
triadic
#2F5AC3 #C32F5A #5AC32F
tetradic
#2F5AC3 #C32FA4 #C3982F #2FC34E
square
#2F5AC3 #C32FA4 #C3982F #2FC34E
split-complementary
#2F5AC3 #C34E2F #A4C32F
monochromatic
#172C60 #234392 #2F5AC3 #587DD7 #8AA4E3

Accessibility & contrast

On white

6.23
#2F5AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2F5AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5AC3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5AC3#FFFFFF#000000##FFFFFF
##2F5AC31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f5ac3;
/* rgb */ color: rgb(47, 90, 195);
/* oklch */ color: oklch(49.9% 0.171 264.3);
Tailwind
colors: {
  custom: {
    50: '#7d88d6',
    500: '#2f5ac3',
    950: '#000000',
  },
}
SCSS
$custom: #2f5ac3;
$custom-light: #7d88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5ac3",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 195
  },
  "hsl": {
    "h": 222.568,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.17148,
    "h": 264.3
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#2F5AC3
secondary
#CDB781
accent
#B644E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F5AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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