#2B5697#2B5697

#2B5697 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.117 H 258.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2B5697
RGBrgb(43, 86, 151)
HSLhsl(216, 56%, 38%)
HSVhsv(216, 72%, 59%)
CMYKcmyk(71.5%, 43%, 0%, 40.8%)
CIE-LABlab(36.75, 7.95, -40.01)
CIE-LCHlch(36.75, 40.79, 281.24°)
OKLaboklab(45.7% -0.0232 -0.1143)
OKLCHoklch(45.7% 0.117 258.5)
XYZxyz(9.9079, 9.4025, 30.5649)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5697 #976C2B
analogous
#2B8C97 #2B5697 #362B97
triadic
#2B5697 #972B56 #56972B
tetradic
#2B5697 #972B8C #976C2B #2B9736
square
#2B5697 #972B8C #976C2B #2B9736
split-complementary
#2B5697 #97362B #8C972B
monochromatic
#102038 #1D3B67 #2B5697 #3971C7 #6893D4

Accessibility & contrast

On white

7.29
#2B5697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2B5697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5697
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5697#FFFFFF#000000##FFFFFF
##2B56971.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#255296
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b5697;
/* rgb */ color: rgb(43, 86, 151);
/* oklch */ color: oklch(45.7% 0.117 258.5);
Tailwind
colors: {
  custom: {
    50: '#7285b6',
    500: '#2b5697',
    950: '#000000',
  },
}
SCSS
$custom: #2b5697;
$custom-light: #7285b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5697",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 216.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.1166,
    "h": 258.5
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

primary
#2B5697
secondary
#BB9863
accent
#A349DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5697

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

Preview Lab → · Contrast checker → · Palette generator →

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