#2A3093#2A3093

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

Color values

HEX#2A3093
RGBrgb(42, 48, 147)
HSLhsl(237, 56%, 37%)
HSVhsv(237, 71%, 58%)
CMYKcmyk(71.4%, 67.3%, 0%, 42.4%)
CIE-LABlab(25.90, 31.71, -55.13)
CIE-LCHlch(25.90, 63.60, 299.91°)
OKLaboklab(37.41% 0.0085 -0.1593)
OKLCHoklch(37.41% 0.16 273.1)
XYZxyz(7.2765, 4.7120, 28.1241)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3093 #938D2A
analogous
#2A6593 #2A3093 #582A93
triadic
#2A3093 #932A30 #30932A
tetradic
#2A3093 #932A65 #938D2A #2A9358
square
#2A3093 #932A65 #938D2A #2A9358
split-complementary
#2A3093 #93582A #65932A
monochromatic
#0F1134 #1C2063 #2A3093 #3840C3 #656BD3

Accessibility & contrast

On white

10.81
#2A3093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3093
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3093#FFFFFF#000000##FFFFFF
##2A30931.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a3093;
/* rgb */ color: rgb(42, 48, 147);
/* oklch */ color: oklch(37.4% 0.160 273.1);
Tailwind
colors: {
  custom: {
    50: '#7368b4',
    500: '#2a3093',
    950: '#000000',
  },
}
SCSS
$custom: #2a3093;
$custom-light: #7368b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3093",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 147
  },
  "hsl": {
    "h": 236.571,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37414,
    "c": 0.15951,
    "h": 273.1
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3093

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

Preview Lab → · Contrast checker → · Palette generator →

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