#2B2EAF#2B2EAF

#2B2EAF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.198 H 272.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2B2EAF
RGBrgb(43, 46, 175)
HSLhsl(239, 61%, 43%)
HSVhsv(239, 75%, 69%)
CMYKcmyk(75.4%, 73.7%, 0%, 31.4%)
CIE-LABlab(28.28, 42.87, -68.21)
CIE-LCHlch(28.28, 80.56, 302.15°)
OKLaboklab(39.98% 0.0072 -0.1974)
OKLCHoklch(39.98% 0.198 272.1)
XYZxyz(9.7085, 5.5617, 41.1110)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EAF #AFAC2B
analogous
#2B70AF #2B2EAF #6A2BAF
triadic
#2B2EAF #AF2B2E #2EAF2B
tetradic
#2B2EAF #AF2B70 #AFAC2B #2BAF6A
square
#2B2EAF #AF2B70 #AFAC2B #2BAF6A
split-complementary
#2B2EAF #AF6A2B #70AF2B
monochromatic
#13144D #1F217E #2B2EAF #4649D1 #7779DE

Accessibility & contrast

On white

9.94
#2B2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EAF
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EAF#FFFFFF#000000##FFFFFF
##2B2EAF1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2eaf;
/* rgb */ color: rgb(43, 46, 175);
/* oklch */ color: oklch(40.0% 0.198 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a68c8',
    500: '#2b2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2b2eaf;
$custom-light: #7a68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2eaf",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 238.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.3998,
    "c": 0.19756,
    "h": 272.1
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#2B2EAF
secondary
#C5C370
accent
#E044E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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