#234785#234785

#234785 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.112 H 260.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#234785
RGBrgb(35, 71, 133)
HSLhsl(218, 58%, 33%)
HSVhsv(218, 74%, 52%)
CMYKcmyk(73.7%, 46.6%, 0%, 47.8%)
CIE-LABlab(30.78, 9.73, -38.59)
CIE-LCHlch(30.78, 39.80, 284.16°)
OKLaboklab(40.63% -0.0185 -0.1105)
OKLCHoklch(40.63% 0.112 260.5)
XYZxyz(7.1785, 6.5565, 23.0730)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234785 #856123
analogous
#237885 #234785 #302385
triadic
#234785 #852347 #478523
tetradic
#234785 #852378 #856123 #238530
square
#234785 #852378 #856123 #238530
split-complementary
#234785 #853023 #788523
monochromatic
#091324 #162D55 #234785 #3061B5 #5180D1

Accessibility & contrast

On white

9.09
#234785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#234785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234785
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234785#FFFFFF#000000##FFFFFF
##2347851.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D87
Deuteranopia (green-blind)
#144484
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #234785;
/* rgb */ color: rgb(35, 71, 133);
/* oklch */ color: oklch(40.6% 0.112 260.5);
Tailwind
colors: {
  custom: {
    50: '#6b79a9',
    500: '#234785',
    950: '#000000',
  },
}
SCSS
$custom: #234785;
$custom-light: #6b79a9;
$custom-dark: #000000;
JSON
{
  "hex": "#234785",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 133
  },
  "hsl": {
    "h": 217.959,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40632,
    "c": 0.11204,
    "h": 260.5
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#234785
secondary
#B58F4F
accent
#A846E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #234785

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

Preview Lab → · Contrast checker → · Palette generator →

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