#2B459F#2B459F

#2B459F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.149 H 267.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2B459F
RGBrgb(43, 69, 159)
HSLhsl(227, 57%, 40%)
HSVhsv(227, 73%, 62%)
CMYKcmyk(73%, 56.6%, 0%, 37.6%)
CIE-LABlab(32.42, 22.36, -51.81)
CIE-LCHlch(32.42, 56.43, 293.34°)
OKLaboklab(42.57% -0.0067 -0.1493)
OKLCHoklch(42.57% 0.149 267.4)
XYZxyz(9.3802, 7.2721, 33.7035)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B459F #9F852B
analogous
#2B7F9F #2B459F #4B2B9F
triadic
#2B459F #9F2B45 #459F2B
tetradic
#2B459F #9F2B7F #9F852B #2B9F4B
square
#2B459F #9F2B7F #9F852B #2B9F4B
split-complementary
#2B459F #9F4B2B #7F9F2B
monochromatic
#111B3F #1E306F #2B459F #3D5DCA #6D85D7

Accessibility & contrast

On white

8.56
#2B459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B459F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B459F#FFFFFF#000000##FFFFFF
##2B459F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b459f;
/* rgb */ color: rgb(43, 69, 159);
/* oklch */ color: oklch(42.6% 0.149 267.4);
Tailwind
colors: {
  custom: {
    50: '#7478bc',
    500: '#2b459f',
    950: '#000000',
  },
}
SCSS
$custom: #2b459f;
$custom-light: #7478bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b459f",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 226.552,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42573,
    "c": 0.14943,
    "h": 267.4
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#2B459F
secondary
#BEAB67
accent
#BE47E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B459F

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

Preview Lab → · Contrast checker → · Palette generator →

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