#2B2598#2B2598

#2B2598 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.178 H 275.1°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2B2598
RGBrgb(43, 37, 152)
HSLhsl(243, 61%, 37%)
HSVhsv(243, 76%, 60%)
CMYKcmyk(71.7%, 75.7%, 0%, 40.4%)
CIE-LABlab(24.01, 40.31, -61.31)
CIE-LCHlch(24.01, 73.38, 303.32°)
OKLaboklab(36.23% 0.0159 -0.1773)
OKLCHoklch(36.23% 0.178 275.1)
XYZxyz(7.3235, 4.1030, 30.1057)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2598 #929825
analogous
#255998 #2B2598 #642598
triadic
#2B2598 #982B25 #25982B
tetradic
#2B2598 #982559 #929825 #259864
square
#2B2598 #982559 #929825 #259864
split-complementary
#2B2598 #986425 #599825
monochromatic
#0F0D36 #1D1967 #2B2598 #3931C9 #665FD8

Accessibility & contrast

On white

11.53
#2B2598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B2598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2598
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2598#FFFFFF#000000##FFFFFF
##2B25981.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9B
Deuteranopia (green-blind)
#003496
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2598;
/* rgb */ color: rgb(43, 37, 152);
/* oklch */ color: oklch(36.2% 0.178 275.1);
Tailwind
colors: {
  custom: {
    50: '#7661b7',
    500: '#2b2598',
    950: '#000000',
  },
}
SCSS
$custom: #2b2598;
$custom-light: #7661b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2598",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 243.13,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36225,
    "c": 0.17799,
    "h": 275.1
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#2B2598
secondary
#B8BD5C
accent
#E444DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2598

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

Preview Lab → · Contrast checker → · Palette generator →

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