#34498E#34498E

#34498E is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.6% C 0.117 H 268.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#34498E
RGBrgb(52, 73, 142)
HSLhsl(226, 46%, 38%)
HSVhsv(226, 63%, 56%)
CMYKcmyk(63.4%, 48.6%, 0%, 44.3%)
CIE-LABlab(32.80, 14.79, -40.83)
CIE-LCHlch(32.80, 43.43, 289.92°)
OKLaboklab(42.61% -0.0033 -0.1167)
OKLCHoklch(42.61% 0.117 268.4)
XYZxyz(8.6795, 7.4474, 26.5660)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34498E #8E7934
analogous
#34768E #34498E #4C348E
triadic
#34498E #8E3449 #498E34
tetradic
#34498E #8E3476 #8E7934 #348E4C
square
#34498E #8E3476 #8E7934 #348E4C
split-complementary
#34498E #8E4C34 #768E34
monochromatic
#131B34 #243261 #34498E #4460BB #7186CB

Accessibility & contrast

On white

8.44
#34498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#34498E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34498E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34498E#FFFFFF#000000##FFFFFF
##34498E1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275191
Deuteranopia (green-blind)
#16498D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #34498e;
/* rgb */ color: rgb(52, 73, 142);
/* oklch */ color: oklch(42.6% 0.117 268.4);
Tailwind
colors: {
  custom: {
    50: '#757baf',
    500: '#34498e',
    950: '#000000',
  },
}
SCSS
$custom: #34498e;
$custom-light: #757baf;
$custom-dark: #000000;
JSON
{
  "hex": "#34498e",
  "rgb": {
    "r": 52,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 226,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42608,
    "c": 0.11676,
    "h": 268.4
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#34498E
secondary
#B3A26A
accent
#B752D6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #34498E

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

Preview Lab → · Contrast checker → · Palette generator →

#34498E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva