#234284#234284

#234284 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.117 H 263.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#234284
RGBrgb(35, 66, 132)
HSLhsl(221, 58%, 33%)
HSVhsv(221, 73%, 52%)
CMYKcmyk(73.5%, 50%, 0%, 48.2%)
CIE-LABlab(29.21, 12.76, -40.49)
CIE-LCHlch(29.21, 42.45, 287.49°)
OKLaboklab(39.41% -0.0139 -0.1162)
OKLCHoklch(39.41% 0.117 263.2)
XYZxyz(6.8047, 5.9190, 22.6092)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234284 #846523
analogous
#237284 #234284 #352384
triadic
#234284 #842342 #428423
tetradic
#234284 #842372 #846523 #238435
square
#234284 #842372 #846523 #238435
split-complementary
#234284 #843523 #728423
monochromatic
#091223 #162A54 #234284 #305AB4 #517AD1

Accessibility & contrast

On white

9.62
#234284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#234284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234284
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234284#FFFFFF#000000##FFFFFF
##2342841.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A86
Deuteranopia (green-blind)
#024183
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #234284;
/* rgb */ color: rgb(35, 66, 132);
/* oklch */ color: oklch(39.4% 0.117 263.2);
Tailwind
colors: {
  custom: {
    50: '#6b75a8',
    500: '#234284',
    950: '#000000',
  },
}
SCSS
$custom: #234284;
$custom-light: #6b75a8;
$custom-dark: #000000;
JSON
{
  "hex": "#234284",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 220.825,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39406,
    "c": 0.11701,
    "h": 263.2
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#234284
secondary
#B4944E
accent
#B046E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #234284

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

Preview Lab → · Contrast checker → · Palette generator →

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