#2B62B3#2B62B3

#2B62B3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.3% C 0.141 H 258.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2B62B3
RGBrgb(43, 98, 179)
HSLhsl(216, 61%, 44%)
HSVhsv(216, 76%, 70%)
CMYKcmyk(76%, 45.3%, 0%, 29.8%)
CIE-LABlab(42.00, 10.85, -48.24)
CIE-LCHlch(42.00, 49.44, 282.67°)
OKLaboklab(50.33% -0.0286 -0.1383)
OKLCHoklch(50.33% 0.141 258.3)
XYZxyz(13.4977, 12.5021, 44.3409)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B62B3 #B37C2B
analogous
#2BA6B3 #2B62B3 #382BB3
triadic
#2B62B3 #B32B62 #62B32B
tetradic
#2B62B3 #B32BA6 #B37C2B #2BB338
square
#2B62B3 #B32BA6 #B37C2B #2BB338
split-complementary
#2B62B3 #B3382B #A6B32B
monochromatic
#132C50 #1F4782 #2B62B3 #4880D3 #79A3DF

Accessibility & contrast

On white

6.00
#2B62B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2B62B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B62B3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B62B3#FFFFFF#000000##FFFFFF
##2B62B31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB6
Deuteranopia (green-blind)
#1B5DB1
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b62b3;
/* rgb */ color: rgb(43, 98, 179);
/* oklch */ color: oklch(50.3% 0.141 258.3);
Tailwind
colors: {
  custom: {
    50: '#788eca',
    500: '#2b62b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b62b3;
$custom-light: #788eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b62b3",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 215.735,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50325,
    "c": 0.14118,
    "h": 258.3
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#2B62B3
secondary
#C7A573
accent
#A343E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B62B3

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

Preview Lab → · Contrast checker → · Palette generator →

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