#265198#265198

#265198 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.4% C 0.126 H 259.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#265198
RGBrgb(38, 81, 152)
HSLhsl(217, 60%, 37%)
HSVhsv(217, 75%, 60%)
CMYKcmyk(75%, 46.7%, 0%, 40.4%)
CIE-LABlab(35.13, 10.90, -43.22)
CIE-LCHlch(35.13, 44.57, 284.16°)
OKLaboklab(44.42% -0.022 -0.1239)
OKLCHoklch(44.42% 0.126 259.9)
XYZxyz(9.4072, 8.5629, 30.8567)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265198 #986D26
analogous
#268A98 #265198 #342698
triadic
#265198 #982651 #519826
tetradic
#265198 #98268A #986D26 #269834
square
#265198 #98268A #986D26 #269834
split-complementary
#265198 #983426 #8A9826
monochromatic
#0E1D36 #1A3767 #265198 #326BC9 #618ED7

Accessibility & contrast

On white

7.74
#265198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#265198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #265198
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265198#FFFFFF#000000##FFFFFF
##2651981.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589B
Deuteranopia (green-blind)
#134E97
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #265198;
/* rgb */ color: rgb(38, 81, 152);
/* oklch */ color: oklch(44.4% 0.126 259.9);
Tailwind
colors: {
  custom: {
    50: '#7081b7',
    500: '#265198',
    950: '#000000',
  },
}
SCSS
$custom: #265198;
$custom-light: #7081b7;
$custom-dark: #000000;
JSON
{
  "hex": "#265198",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 217.368,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44419,
    "c": 0.12582,
    "h": 259.9
  },
  "luminance": 0.08564
}

Semantic roles & 50–950 ramp

primary
#265198
secondary
#BD995D
accent
#A745E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #265198

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

Preview Lab → · Contrast checker → · Palette generator →

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