#2F5AC0#2F5AC0

#2F5AC0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.167 H 264.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2F5AC0
RGBrgb(47, 90, 192)
HSLhsl(222, 61%, 47%)
HSVhsv(222, 76%, 75%)
CMYKcmyk(75.5%, 53.1%, 0%, 24.7%)
CIE-LABlab(40.77, 21.48, -57.81)
CIE-LCHlch(40.77, 61.68, 290.38°)
OKLaboklab(49.7% -0.0174 -0.1665)
OKLCHoklch(49.7% 0.167 264)
XYZxyz(14.3395, 11.7208, 51.3656)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5AC0 #C0952F
analogous
#2FA3C0 #2F5AC0 #4D2FC0
triadic
#2F5AC0 #C02F5A #5AC02F
tetradic
#2F5AC0 #C02FA3 #C0952F #2FC04D
square
#2F5AC0 #C02FA3 #C0952F #2FC04D
split-complementary
#2F5AC0 #C04D2F #A3C02F
monochromatic
#172C5E #23438F #2F5AC0 #567CD6 #88A2E2

Accessibility & contrast

On white

6.28
#2F5AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F5AC0
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5AC0#FFFFFF#000000##FFFFFF
##2F5AC01.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D67C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f5ac0;
/* rgb */ color: rgb(47, 90, 192);
/* oklch */ color: oklch(49.7% 0.167 264.0);
Tailwind
colors: {
  custom: {
    50: '#7c88d4',
    500: '#2f5ac0',
    950: '#000000',
  },
}
SCSS
$custom: #2f5ac0;
$custom-light: #7c88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5ac0",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 222.207,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49699,
    "c": 0.16743,
    "h": 264
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#2F5AC0
secondary
#CBB57F
accent
#B444E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F5AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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