#2B457D#2B457D

#2B457D is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.100 H 263.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2B457D
RGBrgb(43, 69, 125)
HSLhsl(221, 49%, 33%)
HSVhsv(221, 66%, 49%)
CMYKcmyk(65.6%, 44.8%, 0%, 51%)
CIE-LABlab(30.03, 9.40, -34.78)
CIE-LCHlch(30.03, 36.03, 285.12°)
OKLaboklab(40% -0.0109 -0.0992)
OKLCHoklch(40% 0.1 263.7)
XYZxyz(6.8248, 6.2499, 20.2447)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B457D #7D632B
analogous
#2B6E7D #2B457D #3A2B7D
triadic
#2B457D #7D2B45 #457D2B
tetradic
#2B457D #7D2B6E #7D632B #2B7D3A
square
#2B457D #7D2B6E #7D632B #2B7D3A
split-complementary
#2B457D #7D3A2B #6E7D2B
monochromatic
#0C1322 #1B2C4F #2B457D #3B5EAB #5C7EC7

Accessibility & contrast

On white

9.33
#2B457D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2B457D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B457D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B457D#FFFFFF#000000##FFFFFF
##2B457D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#1F437C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b457d;
/* rgb */ color: rgb(43, 69, 125);
/* oklch */ color: oklch(40.0% 0.100 263.7);
Tailwind
colors: {
  custom: {
    50: '#6d78a3',
    500: '#2b457d',
    950: '#000000',
  },
}
SCSS
$custom: #2b457d;
$custom-light: #6d78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b457d",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 220.976,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.09978,
    "h": 263.7
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

primary
#2B457D
secondary
#AD9257
accent
#AD4FD8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B457D

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

Preview Lab → · Contrast checker → · Palette generator →

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