#2B3A9C#2B3A9C

#2B3A9C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.159 H 270.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2B3A9C
RGBrgb(43, 58, 156)
HSLhsl(232, 57%, 39%)
HSVhsv(232, 72%, 61%)
CMYKcmyk(72.4%, 62.8%, 0%, 38.8%)
CIE-LABlab(29.26, 28.59, -55.14)
CIE-LCHlch(29.26, 62.11, 297.40°)
OKLaboklab(40.14% 0.0019 -0.1592)
OKLCHoklch(40.14% 0.159 270.7)
XYZxyz(8.5080, 5.9391, 32.1440)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A9C #9C8D2B
analogous
#2B739C #2B3A9C #552B9C
triadic
#2B3A9C #9C2B3A #3A9C2B
tetradic
#2B3A9C #9C2B73 #9C8D2B #2B9C55
square
#2B3A9C #9C2B73 #9C8D2B #2B9C55
split-complementary
#2B3A9C #9C552B #739C2B
monochromatic
#11163C #1E286C #2B3A9C #3B4EC9 #6B79D6

Accessibility & contrast

On white

9.60
#2B3A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B3A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A9C
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A9C#FFFFFF#000000##FFFFFF
##2B3A9C1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b3a9c;
/* rgb */ color: rgb(43, 58, 156);
/* oklch */ color: oklch(40.1% 0.159 270.7);
Tailwind
colors: {
  custom: {
    50: '#7570ba',
    500: '#2b3a9c',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a9c;
$custom-light: #7570ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a9c",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 156
  },
  "hsl": {
    "h": 232.035,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.15921,
    "h": 270.7
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#2B3A9C
secondary
#BDB166
accent
#CC48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2B3A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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