#1958B4#1958B4

#1958B4 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.159 H 258.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#1958B4
RGBrgb(25, 88, 180)
HSLhsl(216, 76%, 40%)
HSVhsv(216, 86%, 71%)
CMYKcmyk(86.1%, 51.1%, 0%, 29.4%)
CIE-LABlab(38.69, 15.97, -54.19)
CIE-LCHlch(38.69, 56.49, 286.42°)
OKLaboklab(47.66% -0.031 -0.1562)
OKLCHoklch(47.66% 0.159 258.8)
XYZxyz(12.1258, 10.4799, 44.5549)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1958B4 #B47519
analogous
#19A5B4 #1958B4 #2719B4
triadic
#1958B4 #B41958 #58B419
tetradic
#1958B4 #B419A5 #B47519 #19B427
square
#1958B4 #B419A5 #B47519 #19B427
split-complementary
#1958B4 #B42719 #A5B419
monochromatic
#0A2349 #123E7E #1958B4 #2974E1 #5F97E9

Accessibility & contrast

On white

6.78
#1958B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#1958B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1958B4
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1958B4#FFFFFF#000000##FFFFFF
##1958B41.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B62B7
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1958b4;
/* rgb */ color: rgb(25, 88, 180);
/* oklch */ color: oklch(47.7% 0.159 258.8);
Tailwind
colors: {
  custom: {
    50: '#7386cb',
    500: '#1958b4',
    950: '#000000',
  },
}
SCSS
$custom: #1958b4;
$custom-light: #7386cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1958b4",
  "rgb": {
    "r": 25,
    "g": 88,
    "b": 180
  },
  "hsl": {
    "h": 215.613,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.15923,
    "h": 258.8
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#1958B4
secondary
#CD9F5C
accent
#A636F2
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1958B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1958B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva