#2B2F8F#2B2F8F

#2B2F8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.155 H 274.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2B2F8F
RGBrgb(43, 47, 143)
HSLhsl(238, 54%, 36%)
HSVhsv(238, 70%, 56%)
CMYKcmyk(69.9%, 67.1%, 0%, 43.9%)
CIE-LABlab(25.35, 31.05, -53.56)
CIE-LCHlch(25.35, 61.91, 300.10°)
OKLaboklab(36.92% 0.0108 -0.1546)
OKLCHoklch(36.92% 0.155 274)
XYZxyz(6.9691, 4.5291, 26.4882)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F8F #8F8B2B
analogous
#2B618F #2B2F8F #592B8F
triadic
#2B2F8F #8F2B2F #2F8F2B
tetradic
#2B2F8F #8F2B61 #8F8B2B #2B8F59
square
#2B2F8F #8F2B61 #8F8B2B #2B8F59
split-complementary
#2B2F8F #8F592B #618F2B
monochromatic
#0F1031 #1D2060 #2B2F8F #393EBE #6468D0

Accessibility & contrast

On white

11.02
#2B2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B2F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F8F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F8F#FFFFFF#000000##FFFFFF
##2B2F8F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2f8f;
/* rgb */ color: rgb(43, 47, 143);
/* oklch */ color: oklch(36.9% 0.155 274.0);
Tailwind
colors: {
  custom: {
    50: '#7368b1',
    500: '#2b2f8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f8f;
$custom-light: #7368b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f8f",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 237.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36917,
    "c": 0.15503,
    "h": 274
  },
  "luminance": 0.0453
}

Semantic roles & 50–950 ramp

primary
#2B2F8F
secondary
#B7B35F
accent
#D74BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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