#2A3092#2A3092

#2A3092 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.158 H 273.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2A3092
RGBrgb(42, 48, 146)
HSLhsl(237, 55%, 37%)
HSVhsv(237, 71%, 57%)
CMYKcmyk(71.2%, 67.1%, 0%, 42.7%)
CIE-LABlab(25.81, 31.35, -54.67)
CIE-LCHlch(25.81, 63.02, 299.83°)
OKLaboklab(37.32% 0.0086 -0.1579)
OKLCHoklch(37.32% 0.158 273.1)
XYZxyz(7.1984, 4.6808, 27.7127)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3092 #928C2A
analogous
#2A6492 #2A3092 #582A92
triadic
#2A3092 #922A30 #30922A
tetradic
#2A3092 #922A64 #928C2A #2A9258
square
#2A3092 #922A64 #928C2A #2A9258
split-complementary
#2A3092 #92582A #64922A
monochromatic
#0F1133 #1C2062 #2A3092 #3840C2 #646AD2

Accessibility & contrast

On white

10.85
#2A3092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2A3092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3092
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3092#FFFFFF#000000##FFFFFF
##2A30921.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a3092;
/* rgb */ color: rgb(42, 48, 146);
/* oklch */ color: oklch(37.3% 0.158 273.1);
Tailwind
colors: {
  custom: {
    50: '#7368b3',
    500: '#2a3092',
    950: '#000000',
  },
}
SCSS
$custom: #2a3092;
$custom-light: #7368b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3092",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 146
  },
  "hsl": {
    "h": 236.538,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37318,
    "c": 0.15816,
    "h": 273.1
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#2A3092
secondary
#B8B35F
accent
#D649DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A3092

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

Preview Lab → · Contrast checker → · Palette generator →

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