#2B2698#2B2698

#2B2698 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.177 H 275.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2B2698
RGBrgb(43, 38, 152)
HSLhsl(243, 60%, 37%)
HSVhsv(243, 75%, 60%)
CMYKcmyk(71.7%, 75%, 0%, 40.4%)
CIE-LABlab(24.21, 39.74, -60.98)
CIE-LCHlch(24.21, 72.78, 303.09°)
OKLaboklab(36.37% 0.0154 -0.1763)
OKLCHoklch(36.37% 0.177 275)
XYZxyz(7.3550, 4.1661, 30.1162)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2698 #939826
analogous
#265A98 #2B2698 #642698
triadic
#2B2698 #982B26 #26982B
tetradic
#2B2698 #98265A #939826 #269864
square
#2B2698 #98265A #939826 #269864
split-complementary
#2B2698 #986426 #5A9826
monochromatic
#0F0E36 #1D1A67 #2B2698 #3932C9 #6661D7

Accessibility & contrast

On white

11.45
#2B2698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B2698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2698
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2698#FFFFFF#000000##FFFFFF
##2B26981.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003496
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2698;
/* rgb */ color: rgb(43, 38, 152);
/* oklch */ color: oklch(36.4% 0.177 275.0);
Tailwind
colors: {
  custom: {
    50: '#7562b7',
    500: '#2b2698',
    950: '#000000',
  },
}
SCSS
$custom: #2b2698;
$custom-light: #7562b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2698",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 242.632,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3637,
    "c": 0.17698,
    "h": 275
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#2B2698
secondary
#B9BD5D
accent
#E345DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2698

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

Preview Lab → · Contrast checker → · Palette generator →

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