#2B457C#2B457C

#2B457C is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.098 H 263.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2B457C
RGBrgb(43, 69, 124)
HSLhsl(221, 49%, 33%)
HSVhsv(221, 65%, 49%)
CMYKcmyk(65.3%, 44.4%, 0%, 51.4%)
CIE-LABlab(29.97, 9.02, -34.26)
CIE-LCHlch(29.97, 35.42, 284.75°)
OKLaboklab(39.93% -0.0111 -0.0976)
OKLCHoklch(39.93% 0.098 263.5)
XYZxyz(6.7612, 6.2245, 19.9100)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B457C #7C622B
analogous
#2B6D7C #2B457C #3A2B7C
triadic
#2B457C #7C2B45 #457C2B
tetradic
#2B457C #7C2B6D #7C622B #2B7C3A
square
#2B457C #7C2B6D #7C622B #2B7C3A
split-complementary
#2B457C #7C3A2B #6D7C2B
monochromatic
#0B1221 #1B2C4F #2B457C #3B5EA9 #5B7EC6

Accessibility & contrast

On white

9.35
#2B457C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B457C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B457C#FFFFFF#000000##FFFFFF
##2B457C1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#20437B
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b457c;
/* rgb */ color: rgb(43, 69, 124);
/* oklch */ color: oklch(39.9% 0.098 263.5);
Tailwind
colors: {
  custom: {
    50: '#6d78a2',
    500: '#2b457c',
    950: '#000000',
  },
}
SCSS
$custom: #2b457c;
$custom-light: #6d78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b457c",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 124
  },
  "hsl": {
    "h": 220.741,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3993,
    "c": 0.09828,
    "h": 263.5
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#2B457C
secondary
#AC9157
accent
#AC50D8
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #2B457C

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

Preview Lab → · Contrast checker → · Palette generator →

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