#2B239F#2B239F

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

Color values

HEX#2B239F
RGBrgb(43, 35, 159)
HSLhsl(244, 64%, 38%)
HSVhsv(244, 78%, 62%)
CMYKcmyk(73%, 78%, 0%, 37.6%)
CIE-LABlab(24.38, 43.72, -64.99)
CIE-LCHlch(24.38, 78.33, 303.93°)
OKLaboklab(36.71% 0.0154 -0.1879)
OKLCHoklch(36.71% 0.189 274.7)
XYZxyz(7.8532, 4.2181, 33.1945)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B239F #979F23
analogous
#23599F #2B239F #69239F
triadic
#2B239F #9F2B23 #239F2B
tetradic
#2B239F #9F2359 #979F23 #239F69
square
#2B239F #9F2359 #979F23 #239F69
split-complementary
#2B239F #9F6923 #599F23
monochromatic
#100D3B #1D186D #2B239F #392ED1 #6860DC

Accessibility & contrast

On white

11.39
#2B239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B239F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B239F#FFFFFF#000000##FFFFFF
##2B239F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b239f;
/* rgb */ color: rgb(43, 35, 159);
/* oklch */ color: oklch(36.7% 0.189 274.7);
Tailwind
colors: {
  custom: {
    50: '#7761bd',
    500: '#2b239f',
    950: '#000000',
  },
}
SCSS
$custom: #2b239f;
$custom-light: #7761bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b239f",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 243.871,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36712,
    "c": 0.18858,
    "h": 274.7
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#2B239F
secondary
#BBC15D
accent
#E741DC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B239F

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

Preview Lab → · Contrast checker → · Palette generator →

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