#2D5ABF#2D5ABF

#2D5ABF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.167 H 263.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2D5ABF
RGBrgb(45, 90, 191)
HSLhsl(222, 62%, 46%)
HSVhsv(222, 76%, 75%)
CMYKcmyk(76.4%, 52.9%, 0%, 25.1%)
CIE-LABlab(40.62, 20.87, -57.47)
CIE-LCHlch(40.62, 61.14, 289.96°)
OKLaboklab(49.54% -0.019 -0.1655)
OKLCHoklch(49.54% 0.167 263.4)
XYZxyz(14.1390, 11.6302, 50.7798)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5ABF #BF922D
analogous
#2DA3BF #2D5ABF #492DBF
triadic
#2D5ABF #BF2D5A #5ABF2D
tetradic
#2D5ABF #BF2DA3 #BF922D #2DBF49
square
#2D5ABF #BF2DA3 #BF922D #2DBF49
split-complementary
#2D5ABF #BF492D #A3BF2D
monochromatic
#162B5C #21438D #2D5ABF #537BD6 #84A1E2

Accessibility & contrast

On white

6.31
#2D5ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2D5ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5ABF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5ABF#FFFFFF#000000##FFFFFF
##2D5ABF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5abf;
/* rgb */ color: rgb(45, 90, 191);
/* oklch */ color: oklch(49.5% 0.167 263.4);
Tailwind
colors: {
  custom: {
    50: '#7b88d3',
    500: '#2d5abf',
    950: '#000000',
  },
}
SCSS
$custom: #2d5abf;
$custom-light: #7b88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5abf",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 191
  },
  "hsl": {
    "h": 221.507,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49544,
    "c": 0.16664,
    "h": 263.4
  },
  "luminance": 0.11632
}

Semantic roles & 50–950 ramp

primary
#2D5ABF
secondary
#CBB37C
accent
#B343E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D5ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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