#234898#234898

#234898 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.138 H 263.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#234898
RGBrgb(35, 72, 152)
HSLhsl(221, 63%, 37%)
HSVhsv(221, 77%, 60%)
CMYKcmyk(77%, 52.6%, 0%, 40.4%)
CIE-LABlab(32.39, 16.56, -47.64)
CIE-LCHlch(32.39, 50.44, 289.17°)
OKLaboklab(42.29% -0.0165 -0.1371)
OKLCHoklch(42.29% 0.138 263.1)
XYZxyz(8.6760, 7.2581, 30.6434)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234898 #987323
analogous
#238398 #234898 #392398
triadic
#234898 #982348 #489823
tetradic
#234898 #982383 #987323 #239839
square
#234898 #982383 #987323 #239839
split-complementary
#234898 #983923 #839823
monochromatic
#0C1935 #183066 #234898 #2E60CA #5C84D9

Accessibility & contrast

On white

8.57
#234898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#234898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234898
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234898#FFFFFF#000000##FFFFFF
##2348981.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #234898;
/* rgb */ color: rgb(35, 72, 152);
/* oklch */ color: oklch(42.3% 0.138 263.1);
Tailwind
colors: {
  custom: {
    50: '#707ab7',
    500: '#234898',
    950: '#000000',
  },
}
SCSS
$custom: #234898;
$custom-light: #707ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#234898",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 221.026,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42287,
    "c": 0.13811,
    "h": 263.1
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#234898
secondary
#BE9E59
accent
#B242E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #234898

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

Preview Lab → · Contrast checker → · Palette generator →

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