#2B2D62#2B2D62

#2B2D62 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.092 H 278.4°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#2B2D62
RGBrgb(43, 45, 98)
HSLhsl(238, 39%, 28%)
HSVhsv(238, 56%, 38%)
CMYKcmyk(56.1%, 54.1%, 0%, 61.6%)
CIE-LABlab(21.10, 15.98, -31.83)
CIE-LCHlch(21.10, 35.62, 296.66°)
OKLaboklab(32.61% 0.0134 -0.0908)
OKLCHoklch(32.61% 0.092 278.4)
XYZxyz(4.1386, 3.2720, 11.9664)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D62 #62602B
analogous
#2B4962 #2B2D62 #442B62
triadic
#2B2D62 #622B2D #2D622B
tetradic
#2B2D62 #622B49 #62602B #2B6244
square
#2B2D62 #622B49 #62602B #2B6244
split-complementary
#2B2D62 #62442B #49622B
monochromatic
#090A15 #181937 #2B2D62 #3E418D #5457B4

Accessibility & contrast

On white

12.69
#2B2D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B2D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D62
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D62#FFFFFF#000000##FFFFFF
##2B2D621.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123564
Deuteranopia (green-blind)
#0C3161
Tritanopia (blue-blind)
#133943
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2d62;
/* rgb */ color: rgb(43, 45, 98);
/* oklch */ color: oklch(32.6% 0.092 278.4);
Tailwind
colors: {
  custom: {
    50: '#69658f',
    500: '#2b2d62',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d62;
$custom-light: #69658f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d62",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 237.818,
    "s": 39.007,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32611,
    "c": 0.0918,
    "h": 278.4
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#2B2D62
secondary
#949255
accent
#CB59CF
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2B2D62

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

Preview Lab → · Contrast checker → · Palette generator →

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