#234980#234980

#234980 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.8% C 0.102 H 257.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#234980
RGBrgb(35, 73, 128)
HSLhsl(215, 57%, 32%)
HSVhsv(215, 73%, 50%)
CMYKcmyk(72.7%, 43%, 0%, 49.8%)
CIE-LABlab(31.07, 6.41, -35.02)
CIE-LCHlch(31.07, 35.60, 280.37°)
OKLaboklab(40.75% -0.0215 -0.1)
OKLCHoklch(40.75% 0.102 257.8)
XYZxyz(6.9705, 6.6802, 21.3399)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234980 #805A23
analogous
#237880 #234980 #2C2380
triadic
#234980 #802349 #498023
tetradic
#234980 #802378 #805A23 #23802C
square
#234980 #802378 #805A23 #23802C
split-complementary
#234980 #802C23 #788023
monochromatic
#091220 #162E50 #234980 #3064B0 #4F83CF

Accessibility & contrast

On white

8.99
#234980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#234980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234980
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234980#FFFFFF#000000##FFFFFF
##2349801.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E82
Deuteranopia (green-blind)
#20457F
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #234980;
/* rgb */ color: rgb(35, 73, 128);
/* oklch */ color: oklch(40.8% 0.102 257.8);
Tailwind
colors: {
  custom: {
    50: '#6a7ba5',
    500: '#234980',
    950: '#000000',
  },
}
SCSS
$custom: #234980;
$custom-light: #6a7ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#234980",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 128
  },
  "hsl": {
    "h": 215.484,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40754,
    "c": 0.10227,
    "h": 257.8
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#234980
secondary
#B2894D
accent
#A247E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #234980

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

Preview Lab → · Contrast checker → · Palette generator →

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