#2354A5#2354A5

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

Color values

HEX#2354A5
RGBrgb(35, 84, 165)
HSLhsl(217, 65%, 39%)
HSVhsv(217, 79%, 65%)
CMYKcmyk(78.8%, 49.1%, 0%, 35.3%)
CIE-LABlab(36.77, 13.62, -48.39)
CIE-LCHlch(36.77, 50.27, 285.72°)
OKLaboklab(45.93% -0.0246 -0.1391)
OKLCHoklch(45.93% 0.141 260)
XYZxyz(10.6525, 9.4133, 36.8455)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2354A5 #A57423
analogous
#2395A5 #2354A5 #3323A5
triadic
#2354A5 #A52354 #54A523
tetradic
#2354A5 #A52395 #A57423 #23A533
square
#2354A5 #A52395 #A57423 #23A533
split-complementary
#2354A5 #A53323 #95A523
monochromatic
#0E2140 #183A73 #2354A5 #326FD3 #6492DE

Accessibility & contrast

On white

7.28
#2354A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2354A5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2354A5#FFFFFF#000000##FFFFFF
##2354A51.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2354a5;
/* rgb */ color: rgb(35, 84, 165);
/* oklch */ color: oklch(45.9% 0.141 260.0);
Tailwind
colors: {
  custom: {
    50: '#7283c0',
    500: '#2354a5',
    950: '#000000',
  },
}
SCSS
$custom: #2354a5;
$custom-light: #7283c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2354a5",
  "rgb": {
    "r": 35,
    "g": 84,
    "b": 165
  },
  "hsl": {
    "h": 217.385,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45927,
    "c": 0.14124,
    "h": 260
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#2354A5
secondary
#C49E60
accent
#A940E8
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2354A5

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

Preview Lab → · Contrast checker → · Palette generator →

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