#2B489F#2B489F

#2B489F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.146 H 266.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2B489F
RGBrgb(43, 72, 159)
HSLhsl(225, 57%, 40%)
HSVhsv(225, 73%, 62%)
CMYKcmyk(73%, 54.7%, 0%, 37.6%)
CIE-LABlab(33.24, 20.35, -50.47)
CIE-LCHlch(33.24, 54.42, 291.95°)
OKLaboklab(43.2% -0.0092 -0.1453)
OKLCHoklch(43.2% 0.146 266.4)
XYZxyz(9.5694, 7.6505, 33.7665)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B489F #9F822B
analogous
#2B829F #2B489F #482B9F
triadic
#2B489F #9F2B48 #489F2B
tetradic
#2B489F #9F2B82 #9F822B #2B9F48
square
#2B489F #9F2B82 #9F822B #2B9F48
split-complementary
#2B489F #9F482B #829F2B
monochromatic
#111C3F #1E326F #2B489F #3D60CA #6D88D7

Accessibility & contrast

On white

8.30
#2B489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B489F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B489F#FFFFFF#000000##FFFFFF
##2B489F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0354A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b489f;
/* rgb */ color: rgb(43, 72, 159);
/* oklch */ color: oklch(43.2% 0.146 266.4);
Tailwind
colors: {
  custom: {
    50: '#747abc',
    500: '#2b489f',
    950: '#000000',
  },
}
SCSS
$custom: #2b489f;
$custom-light: #747abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b489f",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 225,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43195,
    "c": 0.14558,
    "h": 266.4
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#2B489F
secondary
#BEA967
accent
#BA47E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B489F

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

Preview Lab → · Contrast checker → · Palette generator →

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