#2B489C#2B489C

#2B489C is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.141 H 266.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2B489C
RGBrgb(43, 72, 156)
HSLhsl(225, 57%, 39%)
HSVhsv(225, 72%, 61%)
CMYKcmyk(72.4%, 53.8%, 0%, 38.8%)
CIE-LABlab(33.02, 19.20, -49.02)
CIE-LCHlch(33.02, 52.64, 291.39°)
OKLaboklab(42.96% -0.0094 -0.141)
OKLCHoklch(42.96% 0.141 266.2)
XYZxyz(9.3123, 7.5477, 32.4121)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B489C #9C7F2B
analogous
#2B819C #2B489C #472B9C
triadic
#2B489C #9C2B48 #489C2B
tetradic
#2B489C #9C2B81 #9C7F2B #2B9C47
square
#2B489C #9C2B81 #9C7F2B #2B9C47
split-complementary
#2B489C #9C472B #819C2B
monochromatic
#111C3C #1E326C #2B489C #3B60C9 #6B87D6

Accessibility & contrast

On white

8.37
#2B489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B489C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B489C#FFFFFF#000000##FFFFFF
##2B489C1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C539F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b489c;
/* rgb */ color: rgb(43, 72, 156);
/* oklch */ color: oklch(43.0% 0.141 266.2);
Tailwind
colors: {
  custom: {
    50: '#747aba',
    500: '#2b489c',
    950: '#000000',
  },
}
SCSS
$custom: #2b489c;
$custom-light: #747aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b489c",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 224.602,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42957,
    "c": 0.14133,
    "h": 266.2
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#2B489C
secondary
#BDA766
accent
#B948E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B489C

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

Preview Lab → · Contrast checker → · Palette generator →

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