#232F75#232F75

#232F75 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.120 H 271.2°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#232F75
RGBrgb(35, 47, 117)
HSLhsl(231, 54%, 30%)
HSVhsv(231, 70%, 46%)
CMYKcmyk(70.1%, 59.8%, 0%, 54.1%)
CIE-LABlab(22.56, 20.11, -41.78)
CIE-LCHlch(22.56, 46.37, 295.70°)
OKLaboklab(34.02% 0.0025 -0.1203)
OKLCHoklch(34.02% 0.12 271.2)
XYZxyz(4.9195, 3.6743, 17.2761)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F75 #756923
analogous
#235875 #232F75 #402375
triadic
#232F75 #75232F #2F7523
tetradic
#232F75 #752358 #756923 #237540
square
#232F75 #752358 #756923 #237540
split-complementary
#232F75 #754023 #587523
monochromatic
#070918 #151C46 #232F75 #3142A4 #4A5CC9

Accessibility & contrast

On white

12.10
#232F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#232F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F75
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F75#FFFFFF#000000##FFFFFF
##232F751.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232f75;
/* rgb */ color: rgb(35, 47, 117);
/* oklch */ color: oklch(34.0% 0.120 271.2);
Tailwind
colors: {
  custom: {
    50: '#69679d',
    500: '#232f75',
    950: '#000000',
  },
}
SCSS
$custom: #232f75;
$custom-light: #69679d;
$custom-dark: #000000;
JSON
{
  "hex": "#232f75",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 231.22,
    "s": 53.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34022,
    "c": 0.12032,
    "h": 271.2
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#232F75
secondary
#A89A4C
accent
#C84ADD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #232F75

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

Preview Lab → · Contrast checker → · Palette generator →

#232F75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva