#2A4367#2A4367

#2A4367 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.0% C 0.069 H 257.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2A4367
RGBrgb(42, 67, 103)
HSLhsl(215, 42%, 28%)
HSVhsv(215, 59%, 40%)
CMYKcmyk(59.2%, 35%, 0%, 59.6%)
CIE-LABlab(28.08, 2.35, -23.99)
CIE-LCHlch(28.08, 24.11, 275.59°)
OKLaboklab(38.05% -0.015 -0.0677)
OKLCHoklch(38.05% 0.069 257.5)
XYZxyz(5.4093, 5.4854, 13.6031)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4367 #674E2A
analogous
#2A6167 #2A4367 #2F2A67
triadic
#2A4367 #672A43 #43672A
tetradic
#2A4367 #672A61 #674E2A #2A672F
square
#2A4367 #672A61 #674E2A #2A672F
split-complementary
#2A4367 #672F2A #61672A
monochromatic
#090E16 #18273C #2A4367 #3C5F92 #537CB9

Accessibility & contrast

On white

10.01
#2A4367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2A4367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4367
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4367#FFFFFF#000000##FFFFFF
##2A43671.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344569
Deuteranopia (green-blind)
#2D4066
Tritanopia (blue-blind)
#024B50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a4367;
/* rgb */ color: rgb(42, 67, 103);
/* oklch */ color: oklch(38.0% 0.069 257.5);
Tailwind
colors: {
  custom: {
    50: '#697692',
    500: '#2a4367',
    950: '#000000',
  },
}
SCSS
$custom: #2a4367;
$custom-light: #697692;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4367",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 103
  },
  "hsl": {
    "h": 215.41,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38047,
    "c": 0.06932,
    "h": 257.5
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#2A4367
secondary
#997D54
accent
#9F56D2
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #2A4367

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

Preview Lab → · Contrast checker → · Palette generator →

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