#2F62B8#2F62B8

#2F62B8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.147 H 260.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2F62B8
RGBrgb(47, 98, 184)
HSLhsl(218, 59%, 45%)
HSVhsv(218, 74%, 72%)
CMYKcmyk(74.5%, 46.7%, 0%, 27.8%)
CIE-LABlab(42.46, 13.26, -50.42)
CIE-LCHlch(42.46, 52.14, 284.74°)
OKLaboklab(50.82% -0.025 -0.1446)
OKLCHoklch(50.82% 0.147 260.2)
XYZxyz(14.1886, 12.7988, 47.0607)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62B8 #B8852F
analogous
#2FA6B8 #2F62B8 #402FB8
triadic
#2F62B8 #B82F62 #62B82F
tetradic
#2F62B8 #B82FA6 #B8852F #2FB840
square
#2F62B8 #B82FA6 #B8852F #2FB840
split-complementary
#2F62B8 #B8402F #A6B82F
monochromatic
#162E57 #234887 #2F62B8 #5282D3 #82A5DF

Accessibility & contrast

On white

5.90
#2F62B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2F62B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62B8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62B8#FFFFFF#000000##FFFFFF
##2F62B81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#135EB6
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f62b8;
/* rgb */ color: rgb(47, 98, 184);
/* oklch */ color: oklch(50.8% 0.147 260.2);
Tailwind
colors: {
  custom: {
    50: '#7a8ece',
    500: '#2f62b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f62b8;
$custom-light: #7a8ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62b8",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 184
  },
  "hsl": {
    "h": 217.664,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50817,
    "c": 0.14677,
    "h": 260.2
  },
  "luminance": 0.128
}

Semantic roles & 50–950 ramp

primary
#2F62B8
secondary
#C8AB7B
accent
#A845E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F62B8

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

Preview Lab → · Contrast checker → · Palette generator →

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