#2F48BE#2F48BE

#2F48BE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.187 H 268.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2F48BE
RGBrgb(47, 72, 190)
HSLhsl(230, 60%, 46%)
HSVhsv(230, 75%, 75%)
CMYKcmyk(75.3%, 62.1%, 0%, 25.5%)
CIE-LABlab(35.90, 32.46, -64.57)
CIE-LCHlch(35.90, 72.27, 296.69°)
OKLaboklab(46% -0.0047 -0.1866)
OKLCHoklch(46% 0.187 268.6)
XYZxyz(12.7807, 8.9554, 49.7602)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F48BE #BEA52F
analogous
#2F90BE #2F48BE #5D2FBE
triadic
#2F48BE #BE2F48 #48BE2F
tetradic
#2F48BE #BE2F90 #BEA52F #2FBE5D
square
#2F48BE #BE2F90 #BEA52F #2FBE5D
split-complementary
#2F48BE #BE5D2F #90BE2F
monochromatic
#17235C #23358D #2F48BE #556CD5 #8696E1

Accessibility & contrast

On white

7.52
#2F48BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2F48BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F48BE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F48BE#FFFFFF#000000##FFFFFF
##2F48BE1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f48be;
/* rgb */ color: rgb(47, 72, 190);
/* oklch */ color: oklch(46.0% 0.187 268.6);
Tailwind
colors: {
  custom: {
    50: '#7d7ad3',
    500: '#2f48be',
    950: '#000000',
  },
}
SCSS
$custom: #2f48be;
$custom-light: #7d7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f48be",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 229.51,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.18669,
    "h": 268.6
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

primary
#2F48BE
secondary
#CBBD7E
accent
#C844E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F48BE

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

Preview Lab → · Contrast checker → · Palette generator →

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