#2B5DA9#2B5DA9

#2B5DA9 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.5% C 0.133 H 258.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2B5DA9
RGBrgb(43, 93, 169)
HSLhsl(216, 59%, 42%)
HSVhsv(216, 75%, 66%)
CMYKcmyk(74.6%, 45%, 0%, 33.7%)
CIE-LABlab(39.92, 10.26, -45.68)
CIE-LCHlch(39.92, 46.82, 282.66°)
OKLaboklab(48.52% -0.0261 -0.1308)
OKLCHoklch(48.52% 0.133 258.7)
XYZxyz(12.0694, 11.2055, 39.0552)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DA9 #A9772B
analogous
#2B9CA9 #2B5DA9 #382BA9
triadic
#2B5DA9 #A92B5D #5DA92B
tetradic
#2B5DA9 #A92B9C #A9772B #2BA938
square
#2B5DA9 #A92B9C #A9772B #2BA938
split-complementary
#2B5DA9 #A9382B #9CA92B
monochromatic
#122747 #1F4278 #2B5DA9 #427ACF #739CDB

Accessibility & contrast

On white

6.48
#2B5DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2B5DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DA9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DA9#FFFFFF#000000##FFFFFF
##2B5DA91.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AC
Deuteranopia (green-blind)
#1E59A7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5da9;
/* rgb */ color: rgb(43, 93, 169);
/* oklch */ color: oklch(48.5% 0.133 258.7);
Tailwind
colors: {
  custom: {
    50: '#768ac3',
    500: '#2b5da9',
    950: '#000000',
  },
}
SCSS
$custom: #2b5da9;
$custom-light: #768ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5da9",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 169
  },
  "hsl": {
    "h": 216.19,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.13341,
    "h": 258.7
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#2B5DA9
secondary
#C3A16D
accent
#A445E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B5DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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