#2F5EB0#2F5EB0

#2F5EB0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.141 H 260.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2F5EB0
RGBrgb(47, 94, 176)
HSLhsl(218, 58%, 44%)
HSVhsv(218, 73%, 69%)
CMYKcmyk(73.3%, 46.6%, 0%, 31%)
CIE-LABlab(40.80, 12.82, -48.39)
CIE-LCHlch(40.80, 50.06, 284.84°)
OKLaboklab(49.38% -0.0228 -0.1387)
OKLCHoklch(49.38% 0.141 260.7)
XYZxyz(13.0086, 11.7429, 42.6469)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5EB0 #B0812F
analogous
#2F9EB0 #2F5EB0 #402FB0
triadic
#2F5EB0 #B02F5E #5EB02F
tetradic
#2F5EB0 #B02F9E #B0812F #2FB040
square
#2F5EB0 #B02F9E #B0812F #2FB040
split-complementary
#2F5EB0 #B0402F #9EB02F
monochromatic
#152A4F #224480 #2F5EB0 #4D7CCF #7DA0DC

Accessibility & contrast

On white

6.27
#2F5EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2F5EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5EB0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5EB0#FFFFFF#000000##FFFFFF
##2F5EB01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B3
Deuteranopia (green-blind)
#165BAE
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f5eb0;
/* rgb */ color: rgb(47, 94, 176);
/* oklch */ color: oklch(49.4% 0.141 260.7);
Tailwind
colors: {
  custom: {
    50: '#788bc8',
    500: '#2f5eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f5eb0;
$custom-light: #788bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5eb0",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 218.14,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.14058,
    "h": 260.7
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#2F5EB0
secondary
#C5A876
accent
#A947E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F5EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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