#275097#275097

#275097 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.125 H 260.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#275097
RGBrgb(39, 80, 151)
HSLhsl(218, 59%, 37%)
HSVhsv(218, 74%, 59%)
CMYKcmyk(74.2%, 47%, 0%, 40.8%)
CIE-LABlab(34.81, 11.32, -43.13)
CIE-LCHlch(34.81, 44.59, 284.71°)
OKLaboklab(44.16% -0.0206 -0.1236)
OKLCHoklch(44.16% 0.125 260.6)
XYZxyz(9.2893, 8.4020, 30.4043)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275097 #976E27
analogous
#278897 #275097 #362797
triadic
#275097 #972750 #509727
tetradic
#275097 #972788 #976E27 #279736
square
#275097 #972788 #976E27 #279736
split-complementary
#275097 #973627 #889727
monochromatic
#0E1C36 #1A3666 #275097 #346AC8 #628DD6

Accessibility & contrast

On white

7.83
#275097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#275097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275097
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275097#FFFFFF#000000##FFFFFF
##2750971.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#124D96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #275097;
/* rgb */ color: rgb(39, 80, 151);
/* oklch */ color: oklch(44.2% 0.125 260.6);
Tailwind
colors: {
  custom: {
    50: '#7180b6',
    500: '#275097',
    950: '#000000',
  },
}
SCSS
$custom: #275097;
$custom-light: #7180b6;
$custom-dark: #000000;
JSON
{
  "hex": "#275097",
  "rgb": {
    "r": 39,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 218.036,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4416,
    "c": 0.12531,
    "h": 260.6
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#275097
secondary
#BC9A5E
accent
#A946E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #275097

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

Preview Lab → · Contrast checker → · Palette generator →

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