#2A3A67#2A3A67

#2A3A67 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.081 H 267.5°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2A3A67
RGBrgb(42, 58, 103)
HSLhsl(224, 42%, 28%)
HSVhsv(224, 59%, 40%)
CMYKcmyk(59.2%, 43.7%, 0%, 59.6%)
CIE-LABlab(25.25, 8.47, -28.45)
CIE-LCHlch(25.25, 29.69, 286.58°)
OKLaboklab(35.86% -0.0035 -0.0808)
OKLCHoklch(35.86% 0.081 267.5)
XYZxyz(4.9153, 4.4973, 13.4384)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A67 #67572A
analogous
#2A5867 #2A3A67 #382A67
triadic
#2A3A67 #672A3A #3A672A
tetradic
#2A3A67 #672A58 #67572A #2A6738
square
#2A3A67 #672A58 #67572A #2A6738
split-complementary
#2A3A67 #67382A #58672A
monochromatic
#090C16 #18223C #2A3A67 #3C5292 #536DB9

Accessibility & contrast

On white

11.05
#2A3A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2A3A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A67
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A67#FFFFFF#000000##FFFFFF
##2A3A671.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273F69
Deuteranopia (green-blind)
#1F3966
Tritanopia (blue-blind)
#05444B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a3a67;
/* rgb */ color: rgb(42, 58, 103);
/* oklch */ color: oklch(35.9% 0.081 267.5);
Tailwind
colors: {
  custom: {
    50: '#696f92',
    500: '#2a3a67',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a67;
$custom-light: #696f92;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a67",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 224.262,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35858,
    "c": 0.08088,
    "h": 267.5
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#2A3A67
secondary
#998754
accent
#B156D2
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2A3A67

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

Preview Lab → · Contrast checker → · Palette generator →

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