#2B457F#2B457F

#2B457F is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.103 H 264.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2B457F
RGBrgb(43, 69, 127)
HSLhsl(221, 49%, 33%)
HSVhsv(221, 66%, 50%)
CMYKcmyk(66.1%, 45.7%, 0%, 50.2%)
CIE-LABlab(30.16, 10.15, -35.83)
CIE-LCHlch(30.16, 37.24, 285.82°)
OKLaboklab(40.14% -0.0105 -0.1023)
OKLCHoklch(40.14% 0.103 264.1)
XYZxyz(6.9538, 6.3015, 20.9244)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B457F #7F652B
analogous
#2B6F7F #2B457F #3B2B7F
triadic
#2B457F #7F2B45 #457F2B
tetradic
#2B457F #7F2B6F #7F652B #2B7F3B
square
#2B457F #7F2B6F #7F652B #2B7F3B
split-complementary
#2B457F #7F3B2B #6F7F2B
monochromatic
#0C1324 #1C2C51 #2B457F #3A5EAD #5C7EC8

Accessibility & contrast

On white

9.29
#2B457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B457F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B457F#FFFFFF#000000##FFFFFF
##2B457F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b457f;
/* rgb */ color: rgb(43, 69, 127);
/* oklch */ color: oklch(40.1% 0.103 264.1);
Tailwind
colors: {
  custom: {
    50: '#6e78a4',
    500: '#2b457f',
    950: '#000000',
  },
}
SCSS
$custom: #2b457f;
$custom-light: #6e78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b457f",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 221.429,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.1028,
    "h": 264.1
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#2B457F
secondary
#AE9358
accent
#AE4FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B457F

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

Preview Lab → · Contrast checker → · Palette generator →

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