#2A3E85#2A3E85

#2A3E85 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.121 H 268.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2A3E85
RGBrgb(42, 62, 133)
HSLhsl(227, 52%, 34%)
HSVhsv(227, 68%, 52%)
CMYKcmyk(68.4%, 53.4%, 0%, 47.8%)
CIE-LABlab(28.46, 17.04, -42.30)
CIE-LCHlch(28.46, 45.60, 291.94°)
OKLaboklab(38.96% -0.0034 -0.1214)
OKLCHoklch(38.96% 0.121 268.4)
XYZxyz(6.9097, 5.6303, 22.9084)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E85 #85712A
analogous
#2A6C85 #2A3E85 #442A85
triadic
#2A3E85 #852A3E #3E852A
tetradic
#2A3E85 #852A6C #85712A #2A8544
square
#2A3E85 #852A6C #85712A #2A8544
split-complementary
#2A3E85 #85442A #6C852A
monochromatic
#0D1328 #1B2856 #2A3E85 #3954B4 #5D76CC

Accessibility & contrast

On white

9.88
#2A3E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2A3E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E85
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E85#FFFFFF#000000##FFFFFF
##2A3E851.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124788
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a3e85;
/* rgb */ color: rgb(42, 62, 133);
/* oklch */ color: oklch(39.0% 0.121 268.4);
Tailwind
colors: {
  custom: {
    50: '#6f72a9',
    500: '#2a3e85',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e85;
$custom-light: #6f72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e85",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 133
  },
  "hsl": {
    "h": 226.813,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38956,
    "c": 0.12147,
    "h": 268.4
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#2A3E85
secondary
#B29E59
accent
#BC4CDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A3E85

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

Preview Lab → · Contrast checker → · Palette generator →

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