#2A346E#2A346E

#2A346E is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.101 H 272.8°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2A346E
RGBrgb(42, 52, 110)
HSLhsl(231, 45%, 30%)
HSVhsv(231, 62%, 43%)
CMYKcmyk(61.8%, 52.7%, 0%, 56.9%)
CIE-LABlab(23.91, 15.26, -35.10)
CIE-LCHlch(23.91, 38.27, 293.50°)
OKLaboklab(34.99% 0.0049 -0.1004)
OKLCHoklch(34.99% 0.101 272.8)
XYZxyz(4.9964, 4.0736, 15.2718)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A346E #6E642A
analogous
#2A566E #2A346E #422A6E
triadic
#2A346E #6E2A34 #346E2A
tetradic
#2A346E #6E2A56 #6E642A #2A6E42
square
#2A346E #6E2A56 #6E642A #2A6E42
split-complementary
#2A346E #6E422A #566E2A
monochromatic
#080A16 #191F42 #2A346E #3B499A #5564BE

Accessibility & contrast

On white

11.57
#2A346E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2A346E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A346E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A346E#FFFFFF#000000##FFFFFF
##2A346E1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C70
Deuteranopia (green-blind)
#08366D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a346e;
/* rgb */ color: rgb(42, 52, 110);
/* oklch */ color: oklch(35.0% 0.101 272.8);
Tailwind
colors: {
  custom: {
    50: '#6a6b98',
    500: '#2a346e',
    950: '#000000',
  },
}
SCSS
$custom: #2a346e;
$custom-light: #6a6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#2a346e",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 110
  },
  "hsl": {
    "h": 231.176,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.1005,
    "h": 272.8
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#2A346E
secondary
#A09554
accent
#C153D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A346E

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

Preview Lab → · Contrast checker → · Palette generator →

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