#2B5FAF#2B5FAF

#2B5FAF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.139 H 258.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2B5FAF
RGBrgb(43, 95, 175)
HSLhsl(216, 61%, 43%)
HSVhsv(216, 75%, 69%)
CMYKcmyk(75.4%, 45.7%, 0%, 31.4%)
CIE-LABlab(40.88, 11.26, -47.69)
CIE-LCHlch(40.88, 49.00, 283.28°)
OKLaboklab(49.38% -0.0268 -0.1367)
OKLCHoklch(49.38% 0.139 258.9)
XYZxyz(12.8235, 11.7917, 42.1493)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FAF #AF7B2B
analogous
#2BA1AF #2B5FAF #392BAF
triadic
#2B5FAF #AF2B5F #5FAF2B
tetradic
#2B5FAF #AF2BA1 #AF7B2B #2BAF39
square
#2B5FAF #AF2BA1 #AF7B2B #2BAF39
split-complementary
#2B5FAF #AF392B #A1AF2B
monochromatic
#132A4D #1F447E #2B5FAF #467DD1 #779FDE

Accessibility & contrast

On white

6.25
#2B5FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2B5FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FAF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FAF#FFFFFF#000000##FFFFFF
##2B5FAF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#195BAD
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5faf;
/* rgb */ color: rgb(43, 95, 175);
/* oklch */ color: oklch(49.4% 0.139 258.9);
Tailwind
colors: {
  custom: {
    50: '#778bc7',
    500: '#2b5faf',
    950: '#000000',
  },
}
SCSS
$custom: #2b5faf;
$custom-light: #778bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5faf",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 216.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.13927,
    "h": 258.9
  },
  "luminance": 0.11793
}

Semantic roles & 50–950 ramp

primary
#2B5FAF
secondary
#C5A470
accent
#A544E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B5FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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