#234B98#234B98

#234B98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.134 H 261.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#234B98
RGBrgb(35, 75, 152)
HSLhsl(219, 63%, 37%)
HSVhsv(219, 77%, 60%)
CMYKcmyk(77%, 50.7%, 0%, 40.4%)
CIE-LABlab(33.25, 14.53, -46.24)
CIE-LCHlch(33.25, 48.47, 287.44°)
OKLaboklab(42.95% -0.019 -0.1329)
OKLCHoklch(42.95% 0.134 261.8)
XYZxyz(8.8747, 7.6555, 30.7096)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234B98 #987023
analogous
#238698 #234B98 #362398
triadic
#234B98 #98234B #4B9823
tetradic
#234B98 #982386 #987023 #239836
square
#234B98 #982386 #987023 #239836
split-complementary
#234B98 #983623 #869823
monochromatic
#0C1A35 #183266 #234B98 #2E64CA #5C87D9

Accessibility & contrast

On white

8.30
#234B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#234B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234B98
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234B98#FFFFFF#000000##FFFFFF
##234B981.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #234b98;
/* rgb */ color: rgb(35, 75, 152);
/* oklch */ color: oklch(42.9% 0.134 261.8);
Tailwind
colors: {
  custom: {
    50: '#707cb7',
    500: '#234b98',
    950: '#000000',
  },
}
SCSS
$custom: #234b98;
$custom-light: #707cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#234b98",
  "rgb": {
    "r": 35,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 219.487,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42949,
    "c": 0.13429,
    "h": 261.8
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#234B98
secondary
#BE9B59
accent
#AE42E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234B98

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

Preview Lab → · Contrast checker → · Palette generator →

#234B98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva