#275397#275397

#275397 is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.8% C 0.122 H 258.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#275397
RGBrgb(39, 83, 151)
HSLhsl(216, 59%, 37%)
HSVhsv(216, 74%, 59%)
CMYKcmyk(74.2%, 45%, 0%, 40.8%)
CIE-LABlab(35.70, 9.32, -41.70)
CIE-LCHlch(35.70, 42.73, 282.61°)
OKLaboklab(44.85% -0.0233 -0.1194)
OKLCHoklch(44.85% 0.122 258.9)
XYZxyz(9.5138, 8.8512, 30.4792)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275397 #976B27
analogous
#278B97 #275397 #332797
triadic
#275397 #972753 #539727
tetradic
#275397 #97278B #976B27 #279733
square
#275397 #97278B #976B27 #279733
split-complementary
#275397 #973327 #8B9727
monochromatic
#0E1E36 #1A3866 #275397 #346EC8 #6290D6

Accessibility & contrast

On white

7.58
#275397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #275397
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275397#FFFFFF#000000##FFFFFF
##2753971.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31599A
Deuteranopia (green-blind)
#1C4F96
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #275397;
/* rgb */ color: rgb(39, 83, 151);
/* oklch */ color: oklch(44.8% 0.122 258.9);
Tailwind
colors: {
  custom: {
    50: '#7082b6',
    500: '#275397',
    950: '#000000',
  },
}
SCSS
$custom: #275397;
$custom-light: #7082b6;
$custom-dark: #000000;
JSON
{
  "hex": "#275397",
  "rgb": {
    "r": 39,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 216.429,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44846,
    "c": 0.12162,
    "h": 258.9
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#275397
secondary
#BC975E
accent
#A546E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #275397

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

Preview Lab → · Contrast checker → · Palette generator →

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