#193181#193181

#193181 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.138 H 266.3°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#193181
RGBrgb(25, 49, 129)
HSLhsl(226, 68%, 30%)
HSVhsv(226, 81%, 51%)
CMYKcmyk(80.6%, 62%, 0%, 49.4%)
CIE-LABlab(23.63, 22.11, -47.67)
CIE-LCHlch(23.63, 52.55, 294.88°)
OKLaboklab(35% -0.0088 -0.1378)
OKLCHoklch(35% 0.138 266.3)
XYZxyz(5.4603, 3.9877, 21.2465)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193181 #816919
analogous
#196581 #193181 #351981
triadic
#193181 #811931 #318119
tetradic
#193181 #811965 #816919 #198135
square
#193181 #811965 #816919 #198135
split-complementary
#193181 #813519 #658119
monochromatic
#050A1A #0F1E4E #193181 #2344B4 #3B60D9

Accessibility & contrast

On white

11.68
#193181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#193181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193181
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193181#FFFFFF#000000##FFFFFF
##1931811.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #193181;
/* rgb */ color: rgb(25, 49, 129);
/* oklch */ color: oklch(35.0% 0.138 266.3);
Tailwind
colors: {
  custom: {
    50: '#6868a6',
    500: '#193181',
    950: '#000000',
  },
}
SCSS
$custom: #193181;
$custom-light: #6868a6;
$custom-dark: #000000;
JSON
{
  "hex": "#193181",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 226.154,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34998,
    "c": 0.13807,
    "h": 266.3
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#193181
secondary
#B59A41
accent
#C23DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #193181

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

Preview Lab → · Contrast checker → · Palette generator →

#193181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva