#274285#274285

#274285 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.117 H 265.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#274285
RGBrgb(39, 66, 133)
HSLhsl(223, 55%, 34%)
HSVhsv(223, 71%, 52%)
CMYKcmyk(70.7%, 50.4%, 0%, 47.8%)
CIE-LABlab(29.46, 13.79, -40.69)
CIE-LCHlch(29.46, 42.96, 288.72°)
OKLaboklab(39.68% -0.0102 -0.1167)
OKLCHoklch(39.68% 0.117 265)
XYZxyz(7.0171, 6.0205, 22.9780)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274285 #856A27
analogous
#277185 #274285 #3B2785
triadic
#274285 #852742 #428527
tetradic
#274285 #852771 #856A27 #27853B
square
#274285 #852771 #856A27 #27853B
split-complementary
#274285 #853B27 #718527
monochromatic
#0B1326 #192B56 #274285 #3559B4 #587ACE

Accessibility & contrast

On white

9.53
#274285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#274285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274285
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274285#FFFFFF#000000##FFFFFF
##2742851.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A87
Deuteranopia (green-blind)
#034184
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274285;
/* rgb */ color: rgb(39, 66, 133);
/* oklch */ color: oklch(39.7% 0.117 265.0);
Tailwind
colors: {
  custom: {
    50: '#6d75a9',
    500: '#274285',
    950: '#000000',
  },
}
SCSS
$custom: #274285;
$custom-light: #6d75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#274285",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 222.766,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39676,
    "c": 0.11712,
    "h": 265
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#274285
secondary
#B39855
accent
#B34ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #274285

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

Preview Lab → · Contrast checker → · Palette generator →

#274285 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva