#2354A2#2354A2

#2354A2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.137 H 259.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2354A2
RGBrgb(35, 84, 162)
HSLhsl(217, 64%, 39%)
HSVhsv(217, 78%, 64%)
CMYKcmyk(78.4%, 48.1%, 0%, 36.5%)
CIE-LABlab(36.57, 12.44, -46.92)
CIE-LCHlch(36.57, 48.55, 284.85°)
OKLaboklab(45.71% -0.025 -0.1348)
OKLCHoklch(45.71% 0.137 259.5)
XYZxyz(10.3827, 9.3054, 35.4243)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2354A2 #A27123
analogous
#2393A2 #2354A2 #3123A2
triadic
#2354A2 #A22354 #54A223
tetradic
#2354A2 #A22393 #A27123 #23A231
square
#2354A2 #A22393 #A27123 #23A231
split-complementary
#2354A2 #A23123 #93A223
monochromatic
#0D203D #183A70 #2354A2 #306FD2 #6292DD

Accessibility & contrast

On white

7.34
#2354A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2354A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2354A2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2354A2#FFFFFF#000000##FFFFFF
##2354A21.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#0051A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2354a2;
/* rgb */ color: rgb(35, 84, 162);
/* oklch */ color: oklch(45.7% 0.137 259.5);
Tailwind
colors: {
  custom: {
    50: '#7283be',
    500: '#2354a2',
    950: '#000000',
  },
}
SCSS
$custom: #2354a2;
$custom-light: #7283be;
$custom-dark: #000000;
JSON
{
  "hex": "#2354a2",
  "rgb": {
    "r": 35,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 216.85,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45707,
    "c": 0.13708,
    "h": 259.5
  },
  "luminance": 0.09307
}

Semantic roles & 50–950 ramp

primary
#2354A2
secondary
#C29C5E
accent
#A740E7
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2354A2

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

Preview Lab → · Contrast checker → · Palette generator →

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