#1958B3#1958B3

#1958B3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.158 H 258.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#1958B3
RGBrgb(25, 88, 179)
HSLhsl(215, 75%, 40%)
HSVhsv(215, 86%, 70%)
CMYKcmyk(86%, 50.8%, 0%, 29.8%)
CIE-LABlab(38.62, 15.57, -53.71)
CIE-LCHlch(38.62, 55.93, 286.17°)
OKLaboklab(47.58% -0.0311 -0.1548)
OKLCHoklch(47.58% 0.158 258.6)
XYZxyz(12.0243, 10.4393, 44.0203)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1958B3 #B37419
analogous
#19A5B3 #1958B3 #2719B3
triadic
#1958B3 #B31958 #58B319
tetradic
#1958B3 #B319A5 #B37419 #19B327
square
#1958B3 #B319A5 #B37419 #19B327
split-complementary
#1958B3 #B32719 #A5B319
monochromatic
#0A2348 #123E7D #1958B3 #2874E1 #5E97E8

Accessibility & contrast

On white

6.80
#1958B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#1958B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1958B3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1958B3#FFFFFF#000000##FFFFFF
##1958B31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1958b3;
/* rgb */ color: rgb(25, 88, 179);
/* oklch */ color: oklch(47.6% 0.158 258.6);
Tailwind
colors: {
  custom: {
    50: '#7386ca',
    500: '#1958b3',
    950: '#000000',
  },
}
SCSS
$custom: #1958b3;
$custom-light: #7386ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1958b3",
  "rgb": {
    "r": 25,
    "g": 88,
    "b": 179
  },
  "hsl": {
    "h": 215.455,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.15789,
    "h": 258.6
  },
  "luminance": 0.10441
}

Semantic roles & 50–950 ramp

primary
#1958B3
secondary
#CC9E5B
accent
#A536F2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1958B3

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

Preview Lab → · Contrast checker → · Palette generator →

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