#234098#234098

#234098 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.148 H 266.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#234098
RGBrgb(35, 64, 152)
HSLhsl(225, 63%, 37%)
HSVhsv(225, 77%, 60%)
CMYKcmyk(77%, 57.9%, 0%, 40.4%)
CIE-LABlab(30.13, 22.01, -51.30)
CIE-LCHlch(30.13, 55.82, 293.23°)
OKLaboklab(40.58% -0.0103 -0.148)
OKLCHoklch(40.58% 0.148 266)
XYZxyz(8.1920, 6.2902, 30.4821)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234098 #987B23
analogous
#237B98 #234098 #412398
triadic
#234098 #982340 #409823
tetradic
#234098 #98237B #987B23 #239841
square
#234098 #98237B #987B23 #239841
split-complementary
#234098 #984123 #7B9823
monochromatic
#0C1635 #182B66 #234098 #2E55CA #5C7BD9

Accessibility & contrast

On white

9.30
#234098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234098
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234098#FFFFFF#000000##FFFFFF
##2340981.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #234098;
/* rgb */ color: rgb(35, 64, 152);
/* oklch */ color: oklch(40.6% 0.148 266.0);
Tailwind
colors: {
  custom: {
    50: '#7074b7',
    500: '#234098',
    950: '#000000',
  },
}
SCSS
$custom: #234098;
$custom-light: #7074b7;
$custom-dark: #000000;
JSON
{
  "hex": "#234098",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 225.128,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40583,
    "c": 0.14836,
    "h": 266
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#234098
secondary
#BEA559
accent
#BD42E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #234098

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

Preview Lab → · Contrast checker → · Palette generator →

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