#234681#234681

#234681 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.107 H 260.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#234681
RGBrgb(35, 70, 129)
HSLhsl(218, 57%, 32%)
HSVhsv(218, 73%, 51%)
CMYKcmyk(72.9%, 45.7%, 0%, 49.4%)
CIE-LABlab(30.21, 8.83, -37.01)
CIE-LCHlch(30.21, 38.05, 283.42°)
OKLaboklab(40.11% -0.0183 -0.1059)
OKLCHoklch(40.11% 0.107 260.2)
XYZxyz(6.8443, 6.3219, 21.6242)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234681 #815E23
analogous
#237581 #234681 #2F2381
triadic
#234681 #812346 #468123
tetradic
#234681 #812375 #815E23 #23812F
square
#234681 #812375 #815E23 #23812F
split-complementary
#234681 #812F23 #758123
monochromatic
#091221 #162C51 #234681 #3060B1 #4F7FCF

Accessibility & contrast

On white

9.27
#234681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#234681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234681
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234681#FFFFFF#000000##FFFFFF
##2346811.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C83
Deuteranopia (green-blind)
#174380
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #234681;
/* rgb */ color: rgb(35, 70, 129);
/* oklch */ color: oklch(40.1% 0.107 260.2);
Tailwind
colors: {
  custom: {
    50: '#6a79a6',
    500: '#234681',
    950: '#000000',
  },
}
SCSS
$custom: #234681;
$custom-light: #6a79a6;
$custom-dark: #000000;
JSON
{
  "hex": "#234681",
  "rgb": {
    "r": 35,
    "g": 70,
    "b": 129
  },
  "hsl": {
    "h": 217.66,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40112,
    "c": 0.10746,
    "h": 260.2
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#234681
secondary
#B38D4D
accent
#A747E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #234681

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

Preview Lab → · Contrast checker → · Palette generator →

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