#2B457E#2B457E

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

Color values

HEX#2B457E
RGBrgb(43, 69, 126)
HSLhsl(221, 49%, 33%)
HSVhsv(221, 66%, 49%)
CMYKcmyk(65.9%, 45.2%, 0%, 50.6%)
CIE-LABlab(30.10, 9.77, -35.31)
CIE-LCHlch(30.10, 36.63, 285.47°)
OKLaboklab(40.07% -0.0107 -0.1007)
OKLCHoklch(40.07% 0.101 263.9)
XYZxyz(6.8890, 6.2756, 20.5829)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B457E #7E642B
analogous
#2B6E7E #2B457E #3B2B7E
triadic
#2B457E #7E2B45 #457E2B
tetradic
#2B457E #7E2B6E #7E642B #2B7E3B
square
#2B457E #7E2B6E #7E642B #2B7E3B
split-complementary
#2B457E #7E3B2B #6E7E2B
monochromatic
#0C1323 #1B2C50 #2B457E #3B5EAC #5C7EC7

Accessibility & contrast

On white

9.31
#2B457E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B457E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B457E#FFFFFF#000000##FFFFFF
##2B457E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b457e;
/* rgb */ color: rgb(43, 69, 126);
/* oklch */ color: oklch(40.1% 0.101 263.9);
Tailwind
colors: {
  custom: {
    50: '#6d78a4',
    500: '#2b457e',
    950: '#000000',
  },
}
SCSS
$custom: #2b457e;
$custom-light: #6d78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b457e",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 221.205,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40068,
    "c": 0.10129,
    "h": 263.9
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B457E

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

Preview Lab → · Contrast checker → · Palette generator →

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