#2B5EAF#2B5EAF

#2B5EAF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.140 H 259.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2B5EAF
RGBrgb(43, 94, 175)
HSLhsl(217, 61%, 43%)
HSVhsv(217, 75%, 69%)
CMYKcmyk(75.4%, 46.3%, 0%, 31.4%)
CIE-LABlab(40.59, 11.91, -48.15)
CIE-LCHlch(40.59, 49.60, 283.89°)
OKLaboklab(49.16% -0.0259 -0.1381)
OKLCHoklch(49.16% 0.14 259.4)
XYZxyz(12.7340, 11.6127, 42.1195)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EAF #AF7C2B
analogous
#2BA0AF #2B5EAF #3A2BAF
triadic
#2B5EAF #AF2B5E #5EAF2B
tetradic
#2B5EAF #AF2BA0 #AF7C2B #2BAF3A
square
#2B5EAF #AF2BA0 #AF7C2B #2BAF3A
split-complementary
#2B5EAF #AF3A2B #A0AF2B
monochromatic
#13294D #1F447E #2B5EAF #467CD1 #779FDE

Accessibility & contrast

On white

6.32
#2B5EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2B5EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EAF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EAF#FFFFFF#000000##FFFFFF
##2B5EAF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#155AAD
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5eaf;
/* rgb */ color: rgb(43, 94, 175);
/* oklch */ color: oklch(49.2% 0.140 259.4);
Tailwind
colors: {
  custom: {
    50: '#778bc7',
    500: '#2b5eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2b5eaf;
$custom-light: #778bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5eaf",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 216.818,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49157,
    "c": 0.14048,
    "h": 259.4
  },
  "luminance": 0.11614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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