#2354B1#2354B1

#2354B1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.158 H 261.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2354B1
RGBrgb(35, 84, 177)
HSLhsl(219, 67%, 42%)
HSVhsv(219, 80%, 69%)
CMYKcmyk(80.2%, 52.5%, 0%, 30.6%)
CIE-LABlab(37.61, 18.33, -54.16)
CIE-LCHlch(37.61, 57.17, 288.70°)
OKLaboklab(46.84% -0.023 -0.156)
OKLCHoklch(46.84% 0.158 261.6)
XYZxyz(11.7964, 9.8709, 42.8700)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2354B1 #B18023
analogous
#239BB1 #2354B1 #3923B1
triadic
#2354B1 #B12354 #54B123
tetradic
#2354B1 #B1239B #B18023 #23B139
square
#2354B1 #B1239B #B18023 #23B139
split-complementary
#2354B1 #B13923 #9BB123
monochromatic
#0F244B #193C7E #2354B1 #3970D8 #6C95E2

Accessibility & contrast

On white

7.06
#2354B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2354B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2354B1
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2354B1#FFFFFF#000000##FFFFFF
##2354B11.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115FB4
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2354b1;
/* rgb */ color: rgb(35, 84, 177);
/* oklch */ color: oklch(46.8% 0.158 261.6);
Tailwind
colors: {
  custom: {
    50: '#7583c9',
    500: '#2354b1',
    950: '#000000',
  },
}
SCSS
$custom: #2354b1;
$custom-light: #7583c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2354b1",
  "rgb": {
    "r": 35,
    "g": 84,
    "b": 177
  },
  "hsl": {
    "h": 219.296,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.15773,
    "h": 261.6
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#2354B1
secondary
#C8A768
accent
#AF3EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2354B1

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

Preview Lab → · Contrast checker → · Palette generator →

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