#275FAF#275FAF

#275FAF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.2% C 0.141 H 257.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#275FAF
RGBrgb(39, 95, 175)
HSLhsl(215, 64%, 42%)
HSVhsv(215, 78%, 69%)
CMYKcmyk(77.7%, 45.7%, 0%, 31.4%)
CIE-LABlab(40.75, 10.76, -47.91)
CIE-LCHlch(40.75, 49.10, 282.66°)
OKLaboklab(49.24% -0.0294 -0.1374)
OKLCHoklch(49.24% 0.141 257.9)
XYZxyz(12.6639, 11.7094, 42.1418)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275FAF #AF7727
analogous
#27A3AF #275FAF #3327AF
triadic
#275FAF #AF275F #5FAF27
tetradic
#275FAF #AF27A3 #AF7727 #27AF33
square
#275FAF #AF27A3 #AF7727 #27AF33
split-complementary
#275FAF #AF3327 #A3AF27
monochromatic
#11294B #1C447D #275FAF #3F7CD4 #719EDF

Accessibility & contrast

On white

6.28
#275FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#275FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #275FAF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275FAF#FFFFFF#000000##FFFFFF
##275FAF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#165AAD
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #275faf;
/* rgb */ color: rgb(39, 95, 175);
/* oklch */ color: oklch(49.2% 0.141 257.9);
Tailwind
colors: {
  custom: {
    50: '#758bc7',
    500: '#275faf',
    950: '#000000',
  },
}
SCSS
$custom: #275faf;
$custom-light: #758bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#275faf",
  "rgb": {
    "r": 39,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 215.294,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4924,
    "c": 0.1405,
    "h": 257.9
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#275FAF
secondary
#C6A16B
accent
#A241E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #275FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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