#274BA8#274BA8

#274BA8 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.156 H 264.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#274BA8
RGBrgb(39, 75, 168)
HSLhsl(223, 62%, 41%)
HSVhsv(223, 77%, 66%)
CMYKcmyk(76.8%, 55.4%, 0%, 34.1%)
CIE-LABlab(34.58, 21.28, -53.72)
CIE-LCHlch(34.58, 57.78, 291.61°)
OKLaboklab(44.37% -0.0142 -0.1549)
OKLCHoklch(44.37% 0.156 264.7)
XYZxyz(10.4182, 8.2895, 38.0892)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BA8 #A88427
analogous
#278BA8 #274BA8 #4327A8
triadic
#274BA8 #A8274B #4BA827
tetradic
#274BA8 #A8278B #A88427 #27A843
square
#274BA8 #A8278B #A88427 #27A843
split-complementary
#274BA8 #A84327 #8BA827
monochromatic
#101F45 #1B3576 #274BA8 #3B65D1 #6C8CDD

Accessibility & contrast

On white

7.90
#274BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#274BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274BA8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BA8#FFFFFF#000000##FFFFFF
##274BA81.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274ba8;
/* rgb */ color: rgb(39, 75, 168);
/* oklch */ color: oklch(44.4% 0.156 264.7);
Tailwind
colors: {
  custom: {
    50: '#757cc3',
    500: '#274ba8',
    950: '#000000',
  },
}
SCSS
$custom: #274ba8;
$custom-light: #757cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#274ba8",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 168
  },
  "hsl": {
    "h": 223.256,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44369,
    "c": 0.15551,
    "h": 264.7
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#274BA8
secondary
#C3AA67
accent
#B842E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #274BA8

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

Preview Lab → · Contrast checker → · Palette generator →

#274BA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva