#2B62B2#2B62B2

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

Color values

HEX#2B62B2
RGBrgb(43, 98, 178)
HSLhsl(216, 61%, 43%)
HSVhsv(216, 76%, 70%)
CMYKcmyk(75.8%, 44.9%, 0%, 30.2%)
CIE-LABlab(41.94, 10.47, -47.75)
CIE-LCHlch(41.94, 48.89, 282.36°)
OKLaboklab(50.26% -0.0288 -0.1368)
OKLCHoklch(50.26% 0.14 258.1)
XYZxyz(13.3969, 12.4618, 43.8102)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B62B2 #B27B2B
analogous
#2BA5B2 #2B62B2 #382BB2
triadic
#2B62B2 #B22B62 #62B22B
tetradic
#2B62B2 #B22BA5 #B27B2B #2BB238
square
#2B62B2 #B22BA5 #B27B2B #2BB238
split-complementary
#2B62B2 #B2382B #A5B22B
monochromatic
#132C4F #1F4781 #2B62B2 #4880D3 #79A2DF

Accessibility & contrast

On white

6.01
#2B62B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2B62B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B62B2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B62B2#FFFFFF#000000##FFFFFF
##2B62B21.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#1D5DB0
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b62b2;
/* rgb */ color: rgb(43, 98, 178);
/* oklch */ color: oklch(50.3% 0.140 258.1);
Tailwind
colors: {
  custom: {
    50: '#778ec9',
    500: '#2b62b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b62b2;
$custom-light: #778ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b62b2",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 215.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50257,
    "c": 0.13982,
    "h": 258.1
  },
  "luminance": 0.12463
}

Semantic roles & 50–950 ramp

primary
#2B62B2
secondary
#C7A472
accent
#A344E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B62B2

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

Preview Lab → · Contrast checker → · Palette generator →

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