#234A98#234A98

#234A98 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.136 H 262.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#234A98
RGBrgb(35, 74, 152)
HSLhsl(220, 63%, 37%)
HSVhsv(220, 77%, 60%)
CMYKcmyk(77%, 51.3%, 0%, 40.4%)
CIE-LABlab(32.96, 15.21, -46.71)
CIE-LCHlch(32.96, 49.12, 288.03°)
OKLaboklab(42.73% -0.0182 -0.1343)
OKLCHoklch(42.73% 0.136 262.3)
XYZxyz(8.8074, 7.5209, 30.6872)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234A98 #987123
analogous
#238598 #234A98 #372398
triadic
#234A98 #98234A #4A9823
tetradic
#234A98 #982385 #987123 #239837
square
#234A98 #982385 #987123 #239837
split-complementary
#234A98 #983723 #859823
monochromatic
#0C1A35 #183266 #234A98 #2E62CA #5C86D9

Accessibility & contrast

On white

8.39
#234A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#234A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234A98
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234A98#FFFFFF#000000##FFFFFF
##234A981.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #234a98;
/* rgb */ color: rgb(35, 74, 152);
/* oklch */ color: oklch(42.7% 0.136 262.3);
Tailwind
colors: {
  custom: {
    50: '#707bb7',
    500: '#234a98',
    950: '#000000',
  },
}
SCSS
$custom: #234a98;
$custom-light: #707bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#234a98",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 220,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42727,
    "c": 0.13556,
    "h": 262.3
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#234A98
secondary
#BE9C59
accent
#AF42E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #234A98

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

Preview Lab → · Contrast checker → · Palette generator →

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