#2B2F85#2B2F85

#2B2F85 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.141 H 274.7°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2B2F85
RGBrgb(43, 47, 133)
HSLhsl(237, 51%, 35%)
HSVhsv(237, 68%, 52%)
CMYKcmyk(67.7%, 64.7%, 0%, 47.8%)
CIE-LABlab(24.45, 27.42, -48.81)
CIE-LCHlch(24.45, 55.98, 299.32°)
OKLaboklab(35.98% 0.0116 -0.1407)
OKLCHoklch(35.98% 0.141 274.7)
XYZxyz(6.2450, 4.2395, 22.6750)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F85 #85812B
analogous
#2B5C85 #2B2F85 #542B85
triadic
#2B2F85 #852B2F #2F852B
tetradic
#2B2F85 #852B5C #85812B #2B8554
square
#2B2F85 #852B5C #85812B #2B8554
split-complementary
#2B2F85 #85542B #5C852B
monochromatic
#0D0E29 #1C1F57 #2B2F85 #3A3FB3 #5F64CB

Accessibility & contrast

On white

11.36
#2B2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F85
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F85#FFFFFF#000000##FFFFFF
##2B2F851.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2f85;
/* rgb */ color: rgb(43, 47, 133);
/* oklch */ color: oklch(36.0% 0.141 274.7);
Tailwind
colors: {
  custom: {
    50: '#7067a9',
    500: '#2b2f85',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f85;
$custom-light: #7067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f85",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 237.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3598,
    "c": 0.1412,
    "h": 274.7
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#2B2F85
secondary
#B1AD5B
accent
#D44DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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