#2B5DAF#2B5DAF

#2B5DAF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.142 H 259.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2B5DAF
RGBrgb(43, 93, 175)
HSLhsl(217, 61%, 43%)
HSVhsv(217, 75%, 69%)
CMYKcmyk(75.4%, 46.9%, 0%, 31.4%)
CIE-LABlab(40.31, 12.56, -48.61)
CIE-LCHlch(40.31, 50.21, 284.48°)
OKLaboklab(48.94% -0.025 -0.1394)
OKLCHoklch(48.94% 0.142 259.8)
XYZxyz(12.6457, 11.4360, 42.0900)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DAF #AF7D2B
analogous
#2B9FAF #2B5DAF #3B2BAF
triadic
#2B5DAF #AF2B5D #5DAF2B
tetradic
#2B5DAF #AF2B9F #AF7D2B #2BAF3B
square
#2B5DAF #AF2B9F #AF7D2B #2BAF3B
split-complementary
#2B5DAF #AF3B2B #9FAF2B
monochromatic
#13294D #1F437E #2B5DAF #467BD1 #779EDE

Accessibility & contrast

On white

6.39
#2B5DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2B5DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DAF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DAF#FFFFFF#000000##FFFFFF
##2B5DAF1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#1059AD
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5daf;
/* rgb */ color: rgb(43, 93, 175);
/* oklch */ color: oklch(48.9% 0.142 259.8);
Tailwind
colors: {
  custom: {
    50: '#778ac7',
    500: '#2b5daf',
    950: '#000000',
  },
}
SCSS
$custom: #2b5daf;
$custom-light: #778ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5daf",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 217.273,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48935,
    "c": 0.14168,
    "h": 259.8
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#2B5DAF
secondary
#C5A570
accent
#A744E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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