#275AAA#275AAA

#275AAA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.140 H 259.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#275AAA
RGBrgb(39, 90, 170)
HSLhsl(217, 63%, 41%)
HSVhsv(217, 77%, 67%)
CMYKcmyk(77.1%, 47.1%, 0%, 33.3%)
CIE-LABlab(38.98, 12.09, -47.80)
CIE-LCHlch(38.98, 49.31, 284.19°)
OKLaboklab(47.77% -0.0261 -0.1372)
OKLCHoklch(47.77% 0.14 259.2)
XYZxyz(11.7459, 10.6446, 39.4580)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275AAA #AA7727
analogous
#279BAA #275AAA #3527AA
triadic
#275AAA #AA275A #5AAA27
tetradic
#275AAA #AA279B #AA7727 #27AA35
square
#275AAA #AA279B #AA7727 #27AA35
split-complementary
#275AAA #AA3527 #9BAA27
monochromatic
#102546 #1C4078 #275AAA #3C76D2 #6E99DE

Accessibility & contrast

On white

6.71
#275AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#275AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #275AAA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275AAA#FFFFFF#000000##FFFFFF
##275AAA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AD
Deuteranopia (green-blind)
#0C56A8
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #275aaa;
/* rgb */ color: rgb(39, 90, 170);
/* oklch */ color: oklch(47.8% 0.140 259.2);
Tailwind
colors: {
  custom: {
    50: '#7488c4',
    500: '#275aaa',
    950: '#000000',
  },
}
SCSS
$custom: #275aaa;
$custom-light: #7488c4;
$custom-dark: #000000;
JSON
{
  "hex": "#275aaa",
  "rgb": {
    "r": 39,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 216.641,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.13965,
    "h": 259.2
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#275AAA
secondary
#C4A169
accent
#A642E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #275AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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