#265197#265197

#265197 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.124 H 259.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#265197
RGBrgb(38, 81, 151)
HSLhsl(217, 60%, 37%)
HSVhsv(217, 75%, 59%)
CMYKcmyk(74.8%, 46.4%, 0%, 40.8%)
CIE-LABlab(35.06, 10.51, -42.72)
CIE-LCHlch(35.06, 43.99, 283.82°)
OKLaboklab(44.35% -0.0222 -0.1224)
OKLCHoklch(44.35% 0.124 259.7)
XYZxyz(9.3257, 8.5303, 30.4272)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265197 #976C26
analogous
#268A97 #265197 #342697
triadic
#265197 #972651 #519726
tetradic
#265197 #97268A #976C26 #269734
square
#265197 #97268A #976C26 #269734
split-complementary
#265197 #973426 #8A9726
monochromatic
#0D1D35 #1A3766 #265197 #326BC8 #608ED7

Accessibility & contrast

On white

7.76
#265197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #265197
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265197#FFFFFF#000000##FFFFFF
##2651971.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#154E96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #265197;
/* rgb */ color: rgb(38, 81, 151);
/* oklch */ color: oklch(44.3% 0.124 259.7);
Tailwind
colors: {
  custom: {
    50: '#7081b6',
    500: '#265197',
    950: '#000000',
  },
}
SCSS
$custom: #265197;
$custom-light: #7081b6;
$custom-dark: #000000;
JSON
{
  "hex": "#265197",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 217.168,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.1244,
    "h": 259.7
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #265197

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

Preview Lab → · Contrast checker → · Palette generator →

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