#2A3B83#2A3B83

#2A3B83 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.123 H 269.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2A3B83
RGBrgb(42, 59, 131)
HSLhsl(229, 51%, 34%)
HSVhsv(229, 68%, 51%)
CMYKcmyk(67.9%, 55%, 0%, 48.6%)
CIE-LABlab(27.46, 18.34, -42.67)
CIE-LCHlch(27.46, 46.44, 293.26°)
OKLaboklab(38.15% -0.0006 -0.1226)
OKLCHoklch(38.15% 0.123 269.7)
XYZxyz(6.6142, 5.2583, 22.1347)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B83 #83722A
analogous
#2A6883 #2A3B83 #462A83
triadic
#2A3B83 #832A3B #3B832A
tetradic
#2A3B83 #832A68 #83722A #2A8346
square
#2A3B83 #832A68 #83722A #2A8346
split-complementary
#2A3B83 #83462A #68832A
monochromatic
#0C1126 #1B2655 #2A3B83 #3950B1 #5D72CB

Accessibility & contrast

On white

10.23
#2A3B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2A3B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B83
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B83#FFFFFF#000000##FFFFFF
##2A3B831.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4586
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a3b83;
/* rgb */ color: rgb(42, 59, 131);
/* oklch */ color: oklch(38.2% 0.123 269.7);
Tailwind
colors: {
  custom: {
    50: '#6e70a8',
    500: '#2a3b83',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b83;
$custom-light: #6e70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b83",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 131
  },
  "hsl": {
    "h": 228.539,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38152,
    "c": 0.12256,
    "h": 269.7
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#2A3B83
secondary
#B1A058
accent
#C04DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2A3B83

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

Preview Lab → · Contrast checker → · Palette generator →

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