#2A3E65#2A3E65

#2A3E65 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.7% C 0.072 H 262.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2A3E65
RGBrgb(42, 62, 101)
HSLhsl(220, 41%, 28%)
HSVhsv(220, 58%, 40%)
CMYKcmyk(58.4%, 38.6%, 0%, 60.4%)
CIE-LABlab(26.38, 4.99, -25.38)
CIE-LCHlch(26.38, 25.86, 281.13°)
OKLaboklab(36.69% -0.0091 -0.0718)
OKLCHoklch(36.69% 0.072 262.7)
XYZxyz(5.0256, 4.8767, 12.9859)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E65 #65512A
analogous
#2A5B65 #2A3E65 #332A65
triadic
#2A3E65 #652A3E #3E652A
tetradic
#2A3E65 #652A5B #65512A #2A6533
square
#2A3E65 #652A5B #65512A #2A6533
split-complementary
#2A3E65 #65332A #5B652A
monochromatic
#090D16 #18233A #2A3E65 #3C5990 #5274B7

Accessibility & contrast

On white

10.63
#2A3E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2A3E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E65
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E65#FFFFFF#000000##FFFFFF
##2A3E651.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4167
Deuteranopia (green-blind)
#273C64
Tritanopia (blue-blind)
#07474C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3e65;
/* rgb */ color: rgb(42, 62, 101);
/* oklch */ color: oklch(36.7% 0.072 262.7);
Tailwind
colors: {
  custom: {
    50: '#687391',
    500: '#2a3e65',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e65;
$custom-light: #687391;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e65",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 101
  },
  "hsl": {
    "h": 219.661,
    "s": 41.259,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36692,
    "c": 0.07234,
    "h": 262.7
  },
  "luminance": 0.04877
}

Semantic roles & 50–950 ramp

primary
#2A3E65
secondary
#978053
accent
#A857D1
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2A3E65

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

Preview Lab → · Contrast checker → · Palette generator →

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