#2A3383#2A3383

#2A3383 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.133 H 273.0°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2A3383
RGBrgb(42, 51, 131)
HSLhsl(234, 51%, 34%)
HSVhsv(234, 68%, 51%)
CMYKcmyk(67.9%, 61.1%, 0%, 48.6%)
CIE-LABlab(25.25, 23.82, -46.25)
CIE-LCHlch(25.25, 52.02, 297.25°)
OKLaboklab(36.5% 0.007 -0.1332)
OKLCHoklch(36.5% 0.133 273)
XYZxyz(6.2340, 4.4980, 22.0080)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3383 #837A2A
analogous
#2A6083 #2A3383 #4E2A83
triadic
#2A3383 #832A33 #33832A
tetradic
#2A3383 #832A60 #837A2A #2A834E
square
#2A3383 #832A60 #837A2A #2A834E
split-complementary
#2A3383 #834E2A #60832A
monochromatic
#0C0F26 #1B2155 #2A3383 #3945B1 #5D68CB

Accessibility & contrast

On white

11.05
#2A3383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2A3383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3383
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3383#FFFFFF#000000##FFFFFF
##2A33831.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a3383;
/* rgb */ color: rgb(42, 51, 131);
/* oklch */ color: oklch(36.5% 0.133 273.0);
Tailwind
colors: {
  custom: {
    50: '#6f6aa8',
    500: '#2a3383',
    950: '#000000',
  },
}
SCSS
$custom: #2a3383;
$custom-light: #6f6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3383",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 131
  },
  "hsl": {
    "h": 233.933,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36504,
    "c": 0.13336,
    "h": 273
  },
  "luminance": 0.04499
}

Semantic roles & 50–950 ramp

primary
#2A3383
secondary
#B1A858
accent
#CD4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3383

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

Preview Lab → · Contrast checker → · Palette generator →

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