#2354A9#2354A9

#2354A9 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.147 H 260.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2354A9
RGBrgb(35, 84, 169)
HSLhsl(218, 66%, 40%)
HSVhsv(218, 79%, 66%)
CMYKcmyk(79.3%, 50.3%, 0%, 33.7%)
CIE-LABlab(37.04, 15.19, -50.33)
CIE-LCHlch(37.04, 52.57, 286.80°)
OKLaboklab(46.23% -0.024 -0.1448)
OKLCHoklch(46.23% 0.147 260.6)
XYZxyz(11.0223, 9.5613, 38.7930)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2354A9 #A97823
analogous
#2397A9 #2354A9 #3523A9
triadic
#2354A9 #A92354 #54A923
tetradic
#2354A9 #A92397 #A97823 #23A935
square
#2354A9 #A92397 #A97823 #23A935
split-complementary
#2354A9 #A93523 #97A923
monochromatic
#0E2244 #193B76 #2354A9 #346FD5 #6793DF

Accessibility & contrast

On white

7.21
#2354A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2354A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2354A9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2354A9#FFFFFF#000000##FFFFFF
##2354A91.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2354a9;
/* rgb */ color: rgb(35, 84, 169);
/* oklch */ color: oklch(46.2% 0.147 260.6);
Tailwind
colors: {
  custom: {
    50: '#7383c3',
    500: '#2354a9',
    950: '#000000',
  },
}
SCSS
$custom: #2354a9;
$custom-light: #7383c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2354a9",
  "rgb": {
    "r": 35,
    "g": 84,
    "b": 169
  },
  "hsl": {
    "h": 218.06,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.46226,
    "c": 0.14676,
    "h": 260.6
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#2354A9
secondary
#C5A163
accent
#AB3FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2354A9

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

Preview Lab → · Contrast checker → · Palette generator →

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