#265297#265297

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

Color values

HEX#265297
RGBrgb(38, 82, 151)
HSLhsl(217, 60%, 37%)
HSVhsv(217, 75%, 59%)
CMYKcmyk(74.8%, 45.7%, 0%, 40.8%)
CIE-LABlab(35.36, 9.85, -42.24)
CIE-LCHlch(35.36, 43.37, 283.12°)
OKLaboklab(44.58% -0.0231 -0.121)
OKLCHoklch(44.58% 0.123 259.2)
XYZxyz(9.4005, 8.6800, 30.4521)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265297 #976B26
analogous
#268B97 #265297 #332697
triadic
#265297 #972652 #529726
tetradic
#265297 #97268B #976B26 #269733
square
#265297 #97268B #976B26 #269733
split-complementary
#265297 #973326 #8B9726
monochromatic
#0D1D35 #1A3766 #265297 #326DC8 #608FD7

Accessibility & contrast

On white

7.67
#265297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #265297
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265297#FFFFFF#000000##FFFFFF
##2652971.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#184E96
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #265297;
/* rgb */ color: rgb(38, 82, 151);
/* oklch */ color: oklch(44.6% 0.123 259.2);
Tailwind
colors: {
  custom: {
    50: '#7082b6',
    500: '#265297',
    950: '#000000',
  },
}
SCSS
$custom: #265297;
$custom-light: #7082b6;
$custom-dark: #000000;
JSON
{
  "hex": "#265297",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 151
  },
  "hsl": {
    "h": 216.637,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44577,
    "c": 0.12318,
    "h": 259.2
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#265297
secondary
#BC975C
accent
#A545E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #265297

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

Preview Lab → · Contrast checker → · Palette generator →

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