#3A4268#3A4268

#3A4268 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.065 H 273.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#3A4268
RGBrgb(58, 66, 104)
HSLhsl(230, 28%, 32%)
HSVhsv(230, 44%, 41%)
CMYKcmyk(44.2%, 36.5%, 0%, 59.2%)
CIE-LABlab(28.89, 7.69, -23.28)
CIE-LCHlch(28.89, 24.51, 288.28°)
OKLaboklab(38.98% 0.0045 -0.0653)
OKLCHoklch(38.98% 0.065 273.9)
XYZxyz(6.1911, 5.7951, 13.8864)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4268 #68603A
analogous
#3A5968 #3A4268 #493A68
triadic
#3A4268 #683A42 #42683A
tetradic
#3A4268 #683A59 #68603A #3A6849
square
#3A4268 #683A59 #68603A #3A6849
split-complementary
#3A4268 #68493A #59683A
monochromatic
#0E1019 #242941 #3A4268 #505B8F #6E79AE

Accessibility & contrast

On white

9.73
#3A4268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3A4268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4268
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4268#FFFFFF#000000##FFFFFF
##3A42681.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35466A
Deuteranopia (green-blind)
#314267
Tritanopia (blue-blind)
#2B4A50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a4268;
/* rgb */ color: rgb(58, 66, 104);
/* oklch */ color: oklch(39.0% 0.065 273.9);
Tailwind
colors: {
  custom: {
    50: '#727693',
    500: '#3a4268',
    950: '#000000',
  },
}
SCSS
$custom: #3a4268;
$custom-light: #727693;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4268",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 104
  },
  "hsl": {
    "h": 229.565,
    "s": 28.395,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.06544,
    "h": 273.9
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#3A4268
secondary
#988F66
accent
#B463C5
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#08080D
muted
#7B7B7E

Preview Lab

Preview with #3A4268

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

Preview Lab → · Contrast checker → · Palette generator →

#3A4268 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva