#2A3375#2A3375

#2A3375 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.3% C 0.113 H 273.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2A3375
RGBrgb(42, 51, 117)
HSLhsl(233, 47%, 31%)
HSVhsv(233, 64%, 46%)
CMYKcmyk(64.1%, 56.4%, 0%, 54.1%)
CIE-LABlab(24.14, 18.58, -39.21)
CIE-LCHlch(24.14, 43.39, 295.36°)
OKLaboklab(35.32% 0.0066 -0.1125)
OKLCHoklch(35.32% 0.113 273.4)
XYZxyz(5.3485, 4.1438, 17.3442)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3375 #756C2A
analogous
#2A5875 #2A3375 #462A75
triadic
#2A3375 #752A33 #33752A
tetradic
#2A3375 #752A58 #756C2A #2A7546
square
#2A3375 #752A58 #756C2A #2A7546
split-complementary
#2A3375 #75462A #58752A
monochromatic
#0A0C1B #1A1F48 #2A3375 #3A47A2 #5764C3

Accessibility & contrast

On white

11.48
#2A3375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2A3375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3375
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3375#FFFFFF#000000##FFFFFF
##2A33751.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063D77
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a3375;
/* rgb */ color: rgb(42, 51, 117);
/* oklch */ color: oklch(35.3% 0.113 273.4);
Tailwind
colors: {
  custom: {
    50: '#6c6a9d',
    500: '#2a3375',
    950: '#000000',
  },
}
SCSS
$custom: #2a3375;
$custom-light: #6c6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3375",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 117
  },
  "hsl": {
    "h": 232.8,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.11267,
    "h": 273.4
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#2A3375
secondary
#A79D54
accent
#C751D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A3375

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

Preview Lab → · Contrast checker → · Palette generator →

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