#2B2E8F#2B2E8F

#2B2E8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.156 H 274.3°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2B2E8F
RGBrgb(43, 46, 143)
HSLhsl(238, 54%, 36%)
HSVhsv(238, 70%, 56%)
CMYKcmyk(69.9%, 67.8%, 0%, 43.9%)
CIE-LABlab(25.11, 31.69, -53.96)
CIE-LCHlch(25.11, 62.58, 300.43°)
OKLaboklab(36.74% 0.0116 -0.1558)
OKLCHoklch(36.74% 0.156 274.3)
XYZxyz(6.9295, 4.4501, 26.4750)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E8F #8F8C2B
analogous
#2B608F #2B2E8F #5A2B8F
triadic
#2B2E8F #8F2B2E #2E8F2B
tetradic
#2B2E8F #8F2B60 #8F8C2B #2B8F5A
square
#2B2E8F #8F2B60 #8F8C2B #2B8F5A
split-complementary
#2B2E8F #8F5A2B #608F2B
monochromatic
#0F1031 #1D1F60 #2B2E8F #393DBE #6467D0

Accessibility & contrast

On white

11.11
#2B2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E8F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E8F#FFFFFF#000000##FFFFFF
##2B2E8F1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2e8f;
/* rgb */ color: rgb(43, 46, 143);
/* oklch */ color: oklch(36.7% 0.156 274.3);
Tailwind
colors: {
  custom: {
    50: '#7367b1',
    500: '#2b2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e8f;
$custom-light: #7367b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e8f",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 238.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36741,
    "c": 0.15625,
    "h": 274.3
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#2B2E8F
secondary
#B7B45F
accent
#D94BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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