#2354A4#2354A4

#2354A4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.140 H 259.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2354A4
RGBrgb(35, 84, 164)
HSLhsl(217, 65%, 39%)
HSVhsv(217, 79%, 64%)
CMYKcmyk(78.7%, 48.8%, 0%, 35.7%)
CIE-LABlab(36.70, 13.23, -47.90)
CIE-LCHlch(36.70, 49.70, 285.44°)
OKLaboklab(45.85% -0.0247 -0.1376)
OKLCHoklch(45.85% 0.14 259.8)
XYZxyz(10.5619, 9.3771, 36.3681)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2354A4 #A47323
analogous
#2395A4 #2354A4 #3223A4
triadic
#2354A4 #A42354 #54A423
tetradic
#2354A4 #A42395 #A47323 #23A432
square
#2354A4 #A42395 #A47323 #23A432
split-complementary
#2354A4 #A43223 #95A423
monochromatic
#0D203F #183A72 #2354A4 #316FD3 #6492DE

Accessibility & contrast

On white

7.30
#2354A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2354A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2354A4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2354A4#FFFFFF#000000##FFFFFF
##2354A41.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2354a4;
/* rgb */ color: rgb(35, 84, 164);
/* oklch */ color: oklch(45.9% 0.140 259.8);
Tailwind
colors: {
  custom: {
    50: '#7283bf',
    500: '#2354a4',
    950: '#000000',
  },
}
SCSS
$custom: #2354a4;
$custom-light: #7283bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2354a4",
  "rgb": {
    "r": 35,
    "g": 84,
    "b": 164
  },
  "hsl": {
    "h": 217.209,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.13985,
    "h": 259.8
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#2354A4
secondary
#C39D60
accent
#A840E8
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2354A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2354A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva