#265CB2#265CB2

#265CB2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.8% C 0.148 H 259.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#265CB2
RGBrgb(38, 92, 178)
HSLhsl(217, 65%, 42%)
HSVhsv(217, 79%, 70%)
CMYKcmyk(78.7%, 48.3%, 0%, 30.2%)
CIE-LABlab(40.05, 13.76, -50.81)
CIE-LCHlch(40.05, 52.64, 285.16°)
OKLaboklab(48.75% -0.027 -0.146)
OKLCHoklch(48.75% 0.148 259.5)
XYZxyz(12.6594, 11.2792, 43.6208)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265CB2 #B27C26
analogous
#26A2B2 #265CB2 #3626B2
triadic
#265CB2 #B2265C #5CB226
tetradic
#265CB2 #B226A2 #B27C26 #26B236
square
#265CB2 #B226A2 #B27C26 #26B236
split-complementary
#265CB2 #B23626 #A2B226
monochromatic
#10284D #1B4280 #265CB2 #3F79D6 #729CE1

Accessibility & contrast

On white

6.45
#265CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#265CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #265CB2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265CB2#FFFFFF#000000##FFFFFF
##265CB21.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #265cb2;
/* rgb */ color: rgb(38, 92, 178);
/* oklch */ color: oklch(48.8% 0.148 259.5);
Tailwind
colors: {
  custom: {
    50: '#7689ca',
    500: '#265cb2',
    950: '#000000',
  },
}
SCSS
$custom: #265cb2;
$custom-light: #7689ca;
$custom-dark: #000000;
JSON
{
  "hex": "#265cb2",
  "rgb": {
    "r": 38,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 216.857,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48752,
    "c": 0.14847,
    "h": 259.5
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#265CB2
secondary
#C8A46C
accent
#A740E8
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #265CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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