#234A97#234A97

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

Color values

HEX#234A97
RGBrgb(35, 74, 151)
HSLhsl(220, 62%, 36%)
HSVhsv(220, 77%, 59%)
CMYKcmyk(76.8%, 51%, 0%, 40.8%)
CIE-LABlab(32.89, 14.81, -46.21)
CIE-LCHlch(32.89, 48.53, 287.77°)
OKLaboklab(42.65% -0.0183 -0.1329)
OKLCHoklch(42.65% 0.134 262.1)
XYZxyz(8.7258, 7.4883, 30.2577)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234A97 #977023
analogous
#238497 #234A97 #362397
triadic
#234A97 #97234A #4A9723
tetradic
#234A97 #972384 #977023 #239736
square
#234A97 #972384 #977023 #239736
split-complementary
#234A97 #973623 #849723
monochromatic
#0C1934 #173265 #234A97 #2F62C9 #5B86D9

Accessibility & contrast

On white

8.41
#234A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234A97
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234A97#FFFFFF#000000##FFFFFF
##234A971.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #234a97;
/* rgb */ color: rgb(35, 74, 151);
/* oklch */ color: oklch(42.7% 0.134 262.1);
Tailwind
colors: {
  custom: {
    50: '#6f7bb6',
    500: '#234a97',
    950: '#000000',
  },
}
SCSS
$custom: #234a97;
$custom-light: #6f7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#234a97",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 219.828,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42651,
    "c": 0.13414,
    "h": 262.1
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#234A97
secondary
#BE9C58
accent
#AF42E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234A97

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

Preview Lab → · Contrast checker → · Palette generator →

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