#274283#274283

#274283 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.114 H 264.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#274283
RGBrgb(39, 66, 131)
HSLhsl(222, 54%, 33%)
HSVhsv(222, 70%, 51%)
CMYKcmyk(70.2%, 49.6%, 0%, 48.6%)
CIE-LABlab(29.33, 13.01, -39.67)
CIE-LCHlch(29.33, 41.75, 288.16°)
OKLaboklab(39.53% -0.0105 -0.1137)
OKLCHoklch(39.53% 0.114 264.7)
XYZxyz(6.8802, 5.9658, 22.2572)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274283 #836827
analogous
#277083 #274283 #3A2783
triadic
#274283 #832742 #428327
tetradic
#274283 #832770 #836827 #27833A
square
#274283 #832770 #836827 #27833A
split-complementary
#274283 #833A27 #708327
monochromatic
#0B1225 #192A54 #274283 #355AB2 #577ACD

Accessibility & contrast

On white

9.58
#274283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#274283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274283
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274283#FFFFFF#000000##FFFFFF
##2742831.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A85
Deuteranopia (green-blind)
#094182
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274283;
/* rgb */ color: rgb(39, 66, 131);
/* oklch */ color: oklch(39.5% 0.114 264.7);
Tailwind
colors: {
  custom: {
    50: '#6d75a7',
    500: '#274283',
    950: '#000000',
  },
}
SCSS
$custom: #274283;
$custom-light: #6d75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#274283",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 131
  },
  "hsl": {
    "h": 222.391,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39527,
    "c": 0.11416,
    "h": 264.7
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#274283
secondary
#B29654
accent
#B24ADD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #274283

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

Preview Lab → · Contrast checker → · Palette generator →

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