#2B45AF#2B45AF

#2B45AF is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.171 H 267.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2B45AF
RGBrgb(43, 69, 175)
HSLhsl(228, 61%, 43%)
HSVhsv(228, 75%, 69%)
CMYKcmyk(75.4%, 60.6%, 0%, 31.4%)
CIE-LABlab(33.70, 28.41, -59.32)
CIE-LCHlch(33.70, 65.77, 295.59°)
OKLaboklab(43.93% -0.0062 -0.1713)
OKLCHoklch(43.93% 0.171 267.9)
XYZxyz(10.8596, 7.8638, 41.4947)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B45AF #AF952B
analogous
#2B87AF #2B45AF #532BAF
triadic
#2B45AF #AF2B45 #45AF2B
tetradic
#2B45AF #AF2B87 #AF952B #2BAF53
square
#2B45AF #AF2B87 #AF952B #2BAF53
split-complementary
#2B45AF #AF532B #87AF2B
monochromatic
#131E4D #1F327E #2B45AF #4661D1 #778BDE

Accessibility & contrast

On white

8.16
#2B45AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B45AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B45AF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B45AF#FFFFFF#000000##FFFFFF
##2B45AF1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b45af;
/* rgb */ color: rgb(43, 69, 175);
/* oklch */ color: oklch(43.9% 0.171 267.9);
Tailwind
colors: {
  custom: {
    50: '#7878c8',
    500: '#2b45af',
    950: '#000000',
  },
}
SCSS
$custom: #2b45af;
$custom-light: #7878c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b45af",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 228.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4393,
    "c": 0.17144,
    "h": 267.9
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#2B45AF
secondary
#C5B570
accent
#C444E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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