#265298#265298

#265298 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.125 H 259.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#265298
RGBrgb(38, 82, 152)
HSLhsl(217, 60%, 37%)
HSVhsv(217, 75%, 60%)
CMYKcmyk(75%, 46.1%, 0%, 40.4%)
CIE-LABlab(35.42, 10.24, -42.74)
CIE-LCHlch(35.42, 43.95, 283.47°)
OKLaboklab(44.65% -0.023 -0.1225)
OKLCHoklch(44.65% 0.125 259.4)
XYZxyz(9.4821, 8.7126, 30.8816)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265298 #986C26
analogous
#268B98 #265298 #332698
triadic
#265298 #982652 #529826
tetradic
#265298 #98268B #986C26 #269833
square
#265298 #98268B #986C26 #269833
split-complementary
#265298 #983326 #8B9826
monochromatic
#0E1D36 #1A3867 #265298 #326CC9 #618FD7

Accessibility & contrast

On white

7.66
#265298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#265298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #265298
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265298#FFFFFF#000000##FFFFFF
##2652981.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #265298;
/* rgb */ color: rgb(38, 82, 152);
/* oklch */ color: oklch(44.6% 0.125 259.4);
Tailwind
colors: {
  custom: {
    50: '#7082b7',
    500: '#265298',
    950: '#000000',
  },
}
SCSS
$custom: #265298;
$custom-light: #7082b7;
$custom-dark: #000000;
JSON
{
  "hex": "#265298",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 152
  },
  "hsl": {
    "h": 216.842,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44647,
    "c": 0.12459,
    "h": 259.4
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#265298
secondary
#BD985D
accent
#A645E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #265298

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

Preview Lab → · Contrast checker → · Palette generator →

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