#2B54AF#2B54AF

#2B54AF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.153 H 263.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2B54AF
RGBrgb(43, 84, 175)
HSLhsl(221, 61%, 43%)
HSVhsv(221, 75%, 69%)
CMYKcmyk(75.4%, 52%, 0%, 31.4%)
CIE-LABlab(37.75, 18.47, -52.73)
CIE-LCHlch(37.75, 55.88, 289.30°)
OKLaboklab(46.98% -0.0175 -0.1517)
OKLCHoklch(46.98% 0.153 263.4)
XYZxyz(11.9017, 9.9481, 41.8420)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54AF #AF862B
analogous
#2B96AF #2B54AF #442BAF
triadic
#2B54AF #AF2B54 #54AF2B
tetradic
#2B54AF #AF2B96 #AF862B #2BAF44
square
#2B54AF #AF2B96 #AF862B #2BAF44
split-complementary
#2B54AF #AF442B #96AF2B
monochromatic
#13254D #1F3C7E #2B54AF #4671D1 #7797DE

Accessibility & contrast

On white

7.02
#2B54AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2B54AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B54AF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54AF#FFFFFF#000000##FFFFFF
##2B54AF1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b54af;
/* rgb */ color: rgb(43, 84, 175);
/* oklch */ color: oklch(47.0% 0.153 263.4);
Tailwind
colors: {
  custom: {
    50: '#7783c7',
    500: '#2b54af',
    950: '#000000',
  },
}
SCSS
$custom: #2b54af;
$custom-light: #7783c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54af",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 221.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46978,
    "c": 0.15275,
    "h": 263.4
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#2B54AF
secondary
#C5AB70
accent
#B244E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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