#2B3570#2B3570

#2B3570 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.102 H 272.9°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2B3570
RGBrgb(43, 53, 112)
HSLhsl(231, 45%, 30%)
HSVhsv(231, 62%, 44%)
CMYKcmyk(61.6%, 52.7%, 0%, 56.1%)
CIE-LABlab(24.42, 15.52, -35.57)
CIE-LCHlch(24.42, 38.81, 293.58°)
OKLaboklab(35.43% 0.0051 -0.1017)
OKLCHoklch(35.43% 0.102 272.9)
XYZxyz(5.1930, 4.2293, 15.8688)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3570 #70662B
analogous
#2B5770 #2B3570 #432B70
triadic
#2B3570 #702B35 #35702B
tetradic
#2B3570 #702B57 #70662B #2B7043
square
#2B3570 #702B57 #70662B #2B7043
split-complementary
#2B3570 #70432B #57702B
monochromatic
#090B18 #1A2044 #2B3570 #3C4A9C #5766BE

Accessibility & contrast

On white

11.38
#2B3570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B3570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3570
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3570#FFFFFF#000000##FFFFFF
##2B35701.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D72
Deuteranopia (green-blind)
#08376F
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b3570;
/* rgb */ color: rgb(43, 53, 112);
/* oklch */ color: oklch(35.4% 0.102 272.9);
Tailwind
colors: {
  custom: {
    50: '#6b6c99',
    500: '#2b3570',
    950: '#000000',
  },
}
SCSS
$custom: #2b3570;
$custom-light: #6b6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3570",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 112
  },
  "hsl": {
    "h": 231.304,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3543,
    "c": 0.10186,
    "h": 272.9
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#2B3570
secondary
#A29755
accent
#C254D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B3570

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

Preview Lab → · Contrast checker → · Palette generator →

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