#235DAF#235DAF

#235DAF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.144 H 257.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#235DAF
RGBrgb(35, 93, 175)
HSLhsl(215, 67%, 41%)
HSVhsv(215, 80%, 69%)
CMYKcmyk(80%, 46.9%, 0%, 31.4%)
CIE-LABlab(40.05, 11.61, -49.04)
CIE-LCHlch(40.05, 50.40, 283.32°)
OKLaboklab(48.66% -0.0302 -0.1408)
OKLCHoklch(48.66% 0.144 257.9)
XYZxyz(12.3425, 11.2797, 42.0758)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235DAF #AF7523
analogous
#23A3AF #235DAF #2F23AF
triadic
#235DAF #AF235D #5DAF23
tetradic
#235DAF #AF23A3 #AF7523 #23AF2F
square
#235DAF #AF23A3 #AF7523 #23AF2F
split-complementary
#235DAF #AF2F23 #A3AF23
monochromatic
#0F2749 #19427C #235DAF #387AD7 #6B9CE1

Accessibility & contrast

On white

6.45
#235DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#235DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235DAF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235DAF#FFFFFF#000000##FFFFFF
##235DAF1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#0958AD
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #235daf;
/* rgb */ color: rgb(35, 93, 175);
/* oklch */ color: oklch(48.7% 0.144 257.9);
Tailwind
colors: {
  custom: {
    50: '#748ac7',
    500: '#235daf',
    950: '#000000',
  },
}
SCSS
$custom: #235daf;
$custom-light: #748ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#235daf",
  "rgb": {
    "r": 35,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 215.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48663,
    "c": 0.14402,
    "h": 257.9
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#235DAF
secondary
#C79F66
accent
#A33EEA
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #235DAF

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

Preview Lab → · Contrast checker → · Palette generator →

#235DAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva