#2B55AF#2B55AF

#2B55AF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.151 H 263.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2B55AF
RGBrgb(43, 85, 175)
HSLhsl(221, 61%, 43%)
HSVhsv(221, 75%, 69%)
CMYKcmyk(75.4%, 51.4%, 0%, 31.4%)
CIE-LABlab(38.03, 17.81, -52.28)
CIE-LCHlch(38.03, 55.23, 288.81°)
OKLaboklab(47.19% -0.0183 -0.1504)
OKLCHoklch(47.19% 0.152 263.1)
XYZxyz(11.9799, 10.1044, 41.8681)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B55AF #AF852B
analogous
#2B97AF #2B55AF #432BAF
triadic
#2B55AF #AF2B55 #55AF2B
tetradic
#2B55AF #AF2B97 #AF852B #2BAF43
square
#2B55AF #AF2B97 #AF852B #2BAF43
split-complementary
#2B55AF #AF432B #97AF2B
monochromatic
#13254D #1F3D7E #2B55AF #4672D1 #7798DE

Accessibility & contrast

On white

6.95
#2B55AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2B55AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B55AF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B55AF#FFFFFF#000000##FFFFFF
##2B55AF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b55af;
/* rgb */ color: rgb(43, 85, 175);
/* oklch */ color: oklch(47.2% 0.151 263.1);
Tailwind
colors: {
  custom: {
    50: '#7784c7',
    500: '#2b55af',
    950: '#000000',
  },
}
SCSS
$custom: #2b55af;
$custom-light: #7784c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b55af",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 220.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47192,
    "c": 0.1515,
    "h": 263.1
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#2B55AF
secondary
#C5AA70
accent
#B144E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B55AF

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

Preview Lab → · Contrast checker → · Palette generator →

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