#275AA2#275AA2

#275AA2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.2% C 0.129 H 257.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#275AA2
RGBrgb(39, 90, 162)
HSLhsl(215, 61%, 39%)
HSVhsv(215, 76%, 64%)
CMYKcmyk(75.9%, 44.4%, 0%, 36.5%)
CIE-LABlab(38.47, 8.99, -43.87)
CIE-LCHlch(38.47, 44.78, 281.58°)
OKLaboklab(47.21% -0.0276 -0.1256)
OKLCHoklch(47.21% 0.129 257.6)
XYZxyz(11.0121, 10.3511, 35.5930)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275AA2 #A26F27
analogous
#2798A2 #275AA2 #3227A2
triadic
#275AA2 #A2275A #5AA227
tetradic
#275AA2 #A22798 #A26F27 #27A232
square
#275AA2 #A22798 #A26F27 #27A232
split-complementary
#275AA2 #A23227 #98A227
monochromatic
#0F233F #1B3F71 #275AA2 #3776CF #6998DB

Accessibility & contrast

On white

6.84
#275AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#275AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #275AA2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275AA2#FFFFFF#000000##FFFFFF
##275AA21.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#1E55A1
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #275aa2;
/* rgb */ color: rgb(39, 90, 162);
/* oklch */ color: oklch(47.2% 0.129 257.6);
Tailwind
colors: {
  custom: {
    50: '#7388be',
    500: '#275aa2',
    950: '#000000',
  },
}
SCSS
$custom: #275aa2;
$custom-light: #7388be;
$custom-dark: #000000;
JSON
{
  "hex": "#275aa2",
  "rgb": {
    "r": 39,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 215.122,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4721,
    "c": 0.1286,
    "h": 257.6
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#275AA2
secondary
#C19A64
accent
#A243E4
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #275AA2

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

Preview Lab → · Contrast checker → · Palette generator →

#275AA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva