#265398#265398

#265398 is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.9% C 0.123 H 258.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#265398
RGBrgb(38, 83, 152)
HSLhsl(216, 60%, 37%)
HSVhsv(216, 75%, 60%)
CMYKcmyk(75%, 45.4%, 0%, 40.4%)
CIE-LABlab(35.72, 9.57, -42.26)
CIE-LCHlch(35.72, 43.33, 282.76°)
OKLaboklab(44.88% -0.0239 -0.121)
OKLCHoklch(44.88% 0.123 258.8)
XYZxyz(9.5580, 8.8645, 30.9070)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265398 #986B26
analogous
#268C98 #265398 #322698
triadic
#265398 #982653 #539826
tetradic
#265398 #98268C #986B26 #269832
square
#265398 #98268C #986B26 #269832
split-complementary
#265398 #983226 #8C9826
monochromatic
#0E1E36 #1A3867 #265398 #326EC9 #6190D7

Accessibility & contrast

On white

7.57
#265398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#265398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #265398
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265398#FFFFFF#000000##FFFFFF
##2653981.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#194F97
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #265398;
/* rgb */ color: rgb(38, 83, 152);
/* oklch */ color: oklch(44.9% 0.123 258.8);
Tailwind
colors: {
  custom: {
    50: '#7082b7',
    500: '#265398',
    950: '#000000',
  },
}
SCSS
$custom: #265398;
$custom-light: #7082b7;
$custom-dark: #000000;
JSON
{
  "hex": "#265398",
  "rgb": {
    "r": 38,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 216.316,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44876,
    "c": 0.12337,
    "h": 258.8
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#265398
secondary
#BD975D
accent
#A545E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #265398

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

Preview Lab → · Contrast checker → · Palette generator →

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