#265AA6#265AA6

#265AA6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.134 H 258.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#265AA6
RGBrgb(38, 90, 166)
HSLhsl(216, 63%, 40%)
HSVhsv(216, 77%, 65%)
CMYKcmyk(77.1%, 45.8%, 0%, 34.9%)
CIE-LABlab(38.68, 10.41, -45.90)
CIE-LCHlch(38.68, 47.07, 282.78°)
OKLaboklab(47.45% -0.0274 -0.1316)
OKLCHoklch(47.45% 0.134 258.2)
XYZxyz(11.3359, 10.4763, 37.4937)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265AA6 #A67226
analogous
#269AA6 #265AA6 #3226A6
triadic
#265AA6 #A6265A #5AA626
tetradic
#265AA6 #A6269A #A67226 #26A632
square
#265AA6 #A6269A #A67226 #26A632
split-complementary
#265AA6 #A63226 #9AA626
monochromatic
#0F2442 #1B3F74 #265AA6 #3876D1 #6A98DD

Accessibility & contrast

On white

6.78
#265AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#265AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #265AA6
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265AA6#FFFFFF#000000##FFFFFF
##265AA61.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)
#3261A9
Deuteranopia (green-blind)
#1656A4
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #265aa6;
/* rgb */ color: rgb(38, 90, 166);
/* oklch */ color: oklch(47.5% 0.134 258.2);
Tailwind
colors: {
  custom: {
    50: '#7388c1',
    500: '#265aa6',
    950: '#000000',
  },
}
SCSS
$custom: #265aa6;
$custom-light: #7388c1;
$custom-dark: #000000;
JSON
{
  "hex": "#265aa6",
  "rgb": {
    "r": 38,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 215.625,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.47451,
    "c": 0.13443,
    "h": 258.2
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#265AA6
secondary
#C39D65
accent
#A342E6
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #265AA6

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

Preview Lab → · Contrast checker → · Palette generator →

#265AA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva