#274BAB#274BAB

#274BAB is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.160 H 265.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#274BAB
RGBrgb(39, 75, 171)
HSLhsl(224, 63%, 41%)
HSVhsv(224, 77%, 67%)
CMYKcmyk(77.2%, 56.1%, 0%, 32.9%)
CIE-LABlab(34.81, 22.43, -55.13)
CIE-LCHlch(34.81, 59.52, 292.14°)
OKLaboklab(44.61% -0.014 -0.159)
OKLCHoklch(44.61% 0.16 265)
XYZxyz(10.7009, 8.4026, 39.5781)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BAB #AB8727
analogous
#278DAB #274BAB #4527AB
triadic
#274BAB #AB274B #4BAB27
tetradic
#274BAB #AB278D #AB8727 #27AB45
square
#274BAB #AB278D #AB8727 #27AB45
split-complementary
#274BAB #AB4527 #8DAB27
monochromatic
#101F47 #1C3579 #274BAB #3D65D3 #6E8DDE

Accessibility & contrast

On white

7.83
#274BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#274BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##274BAB#FFFFFF#000000##FFFFFF
##274BAB1.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)
#0058AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274bab;
/* rgb */ color: rgb(39, 75, 171);
/* oklch */ color: oklch(44.6% 0.160 265.0);
Tailwind
colors: {
  custom: {
    50: '#757cc5',
    500: '#274bab',
    950: '#000000',
  },
}
SCSS
$custom: #274bab;
$custom-light: #757cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#274bab",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 223.636,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44614,
    "c": 0.15965,
    "h": 265
  },
  "luminance": 0.08404
}

Semantic roles & 50–950 ramp

primary
#274BAB
secondary
#C5AC69
accent
#B942E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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