#2B57AF#2B57AF

#2B57AF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.149 H 262.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2B57AF
RGBrgb(43, 87, 175)
HSLhsl(220, 61%, 43%)
HSVhsv(220, 75%, 69%)
CMYKcmyk(75.4%, 50.3%, 0%, 31.4%)
CIE-LABlab(38.59, 16.49, -51.37)
CIE-LCHlch(38.59, 53.95, 287.79°)
OKLaboklab(47.62% -0.02 -0.1477)
OKLCHoklch(47.62% 0.149 262.3)
XYZxyz(12.1395, 10.4238, 41.9213)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57AF #AF832B
analogous
#2B99AF #2B57AF #412BAF
triadic
#2B57AF #AF2B57 #57AF2B
tetradic
#2B57AF #AF2B99 #AF832B #2BAF41
square
#2B57AF #AF2B99 #AF832B #2BAF41
split-complementary
#2B57AF #AF412B #99AF2B
monochromatic
#13264D #1F3F7E #2B57AF #4674D1 #7799DE

Accessibility & contrast

On white

6.81
#2B57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2B57AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57AF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57AF#FFFFFF#000000##FFFFFF
##2B57AF1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b57af;
/* rgb */ color: rgb(43, 87, 175);
/* oklch */ color: oklch(47.6% 0.149 262.3);
Tailwind
colors: {
  custom: {
    50: '#7785c7',
    500: '#2b57af',
    950: '#000000',
  },
}
SCSS
$custom: #2b57af;
$custom-light: #7785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57af",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 220,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.14902,
    "h": 262.3
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#2B57AF
secondary
#C5A970
accent
#AE44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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